OS X Apache Location?
July 30, 2005 1:13 PM   Subscribe

Where does OS X Tiger actually store the apache directory? I want to change the access file but I can't seem to find it. Spotlight doesn't reveal the file. A related question: grep doesn't work in OS X's terminal??? I feel silly :(
posted by missed to Computers & Internet (5 answers total)
 
Best answer: Document root: /Library/WebServer/Documents/
httpd.conf: /etc/httpd/
posted by cillit bang at 1:19 PM on July 30, 2005


Response by poster: thanks cb!
posted by missed at 1:22 PM on July 30, 2005


And of course grep works fine.
posted by kindall at 3:21 PM on July 30, 2005


Best answer: In the interest of teaching you to fish, I will demonstrate the locate command, which works just fine on OSX Tiger:

$ locate httpd.conf
/private/etc/httpd/httpd.conf
$

posted by majick at 3:39 PM on July 30, 2005


To prove grep works (slower than locate, but if your locate database isn't up-to-date, this should find anything anywhere on the drive):

find / | grep 'httpd.conf'
posted by Mo Nickels at 7:30 AM on July 31, 2005


« Older A short story where sex and conversation switch...   |   Share iTunes files? Newer »
This thread is closed to new comments.