Women in Technology

Hear us Roar



Article:
  Apache Web-Serving with Mac OS X: Part 1
Subject:   configuration httpd.conf
Date:   2001-12-10 17:41:08
From:   sjmagy
Response to: configuration httpd.conf

Are you going to touch upon the .conf file that is also unique to each user?

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!
Main Topics Newest First

Showing messages 1 through 1 of 1.

  • Morbus Iff photo configuration httpd.conf
    2001-12-10 17:48:31  Morbus Iff | O'Reilly Author [View]

    Sjmagy, we won't be specifically touching on the user .conf files because they don't fall into the example intranet that were building in the series. However, we will go into SSI's and turning them on, as well as access control. Modifications that we make to the httpd.conf for those features can also be entered (with no change in syntax) into your specific user .conf files.