Sign In/My Account | View Cart  

advertisement

AddThis Social Bookmark Button

Article:
  Apache Web Serving with Jaguar, Part 4
Subject:   .htaccess
Date:   2003-08-06 12:15:31
From:   forgotmyscript
I also love this site and this article. Very well written. I am having one problem though. I am quite new to all of this. I am doing well though. When I went to create a .htaccess with "touch .htaccess" in terminal the file went into my user directory. I would like to put it into /library/webserver/documents where it should be but the file is very stubborn and will not go. How do I move it there or just create one there? also, a htaccess file then use mv htaccess .htaccess says file does not exist. Thanks for the help....
Full Threads Oldest First

Showing messages 1 through 1 of 1.

  • .htaccess
    2003-09-22 01:03:09  anonymous2 [View]

    sudo touch /Library/WebServer/documents/.htaccess
    password: youradminpasswordhere

    that should work.
    need sudo because you as normal user won't have write permission. sudo will have it.