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

Showing messages 1 through 2 of 2.

  • configuration httpd.conf
    2001-12-10 12:08:53  loren3 [View]


    no doubt... i learned from this page that i had to type:

    http://<myip>/~myshortname

    i had been frustrated that i was typing just http://<myip> and I was getting the apache default page even tho i had already replaced the index.html file in my ~/Sites/ folder.

    so that clarified that much.

    but what if you don't want to use your short name? how do you reconfigure it so that:

    a) it goes straight to your user index.html file with http://myip (without having to build your site in the /Library/WebServer directory...)

    or

    b) create some kind of alias so that each user can have his/her own page but not necessarily use their short name to define it, as in:

    http://myip/~animals (for the site owned by user "morbus") and http://myip/~cars (for the site owned by user "Joe")

    thanks.....

    also, is there ANY decent WYSIWYG html editor for OS X??

    and... How do you use BBEDIT to create a simple go to blah link???? believe it or not I couldn't figure that out.

  • configuration httpd.conf
    2001-12-10 17:41:08  sjmagy [View]

    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!