| Sign In/My Account | View Cart |
| Article: |
Apache Web-Serving with Mac OS X: Part 1 | |
| Subject: | configuration httpd.conf | |
| Date: | 2001-12-08 14:14:08 | |
| From: | morbus | |
|
Response to: configuration httpd.conf
|
||
| Yup, you can expect all that stuff in the second part, which is really the intro to that file, exploring it as we learn about CGI, and also a teensy bit about the httpd daemon itself. | ||
Showing messages 1 through 9 of 9.
configuration httpd.conf
configuration httpd.conf
I was working just this past weekend on setting up Apache for the very first time (following instructions from a MacWorld article). After editing httpd.conf and enabling the options I wanted, I *still* couldn't see sites ("Forbidden -- you don't have access, blah blah") even though I should have according to the conf file.
Turns out, as I was browsing around, if you have multiple users set up on your OS X box, the system creates a username.conf file for each user, which is in the etc/httpd/users directory path. If you don't also edit that file, then certain options don't get turned on, even if they are turned on in the main httpd.conf file.
Primarily, I was trying to enable "Includes" and turn off "Indexes". If I didn't edit my own username.conf file to also enable "Includes", the functionality just plain didn't work....
If you can provide some more thorough info. RE: access control, etc..., that would also be great!