ONJava.com -- The Independent Source for Enterprise Java
oreilly.comSafari Books Online.Conferences.

advertisement

AddThis Social Bookmark Button
Article:
  Apache Web-Serving with Mac OS X, Part 4
Subject:   editing /etc/httpd/users/<username>.conf breaks web access to Sites folder
Date:   2002-03-11 19:15:38
From:   grosventre
Response to: editing /etc/httpd/users/.conf breaks web access to Sites folder

Yes, there is an index.html fil. The error_log entries relevant are:
[Mon Mar 11 19:55:59 2002] [error] [client 199.104.80.94] File does not exist: /Users/michaelh/public_html/
and
[Mon Mar 11 19:56:58 2002] [error] [client 199.104.80.94] File does not exist: /Users/michaelh/public_html/index.html


After various incarnations, the username.conf file now looks like this:


<Directory "/Users/michaelh/Sites/">
Options Includes Indexes Multiviews
AllowOverride None
Order deny,allow
Deny from all
Allow from 127.0.0.1
</Directory>
ScriptAlias /~michaelh/cgi-bin/ "/Users/michaelh/Sites/cgi-bin/"


Pretty much per one of your examples


The error page:


Not Found
The requested URL /~michaelh/index.html was not found on this server.


------------------------------------------------------------------------
Apache/1.3.22 Server at 127.0.0.1 Port 80



and if that's not a 404 error, I haven't been configuring apache on FreeBSD boxes for the past five years :)



I definitely appreciate these articles,. as they help make testing my cgi work much easier locally.


Thanks for any ideas you may come up with,
Michael


1 to 1 of 1
  1. Kevin Hemenway photo editing /etc/httpd/users/<username>.conf breaks web access to Sites folder
    2002-03-13 20:10:28  Kevin Hemenway | O'Reilly AuthorO'Reilly Blogger [View]

    • editing /etc/httpd/users/<username>.conf breaks web access to Sites folder
      2002-03-14 10:50:31  grosventre [View]

1 to 1 of 1