RFE: httpd-userdir.conf not modified to work on Mac OS X (apache2 port)
The httpd-userdir.conf file included with apache2 is designed for Unix systems having home directories in /home and web files in a public_html directory. Mac OS X, however, has home directories in /Users and web files in a Sites directory. The httpd-userdir.conf file needs to be patched by the darwinports apache2 portfile, especially since, even if I modify the file locally, it gets replaced the next time I upgrade apache2.
It would be a good idea for someone to check how the apache 1 port behaves in this regard, and open a related bug report for that if necessary.
--- original/extra/httpd-userdir.conf 2006-02-09 01:00:33.000000000 +0100
+++ extra/httpd-userdir.conf 2006-02-11 00:54:34.000000000 +0100
@@ -7,13 +7,13 @@
# directory if a ~user request is received. Note that you must also set
# the default access control for these directories, as in the example below.
#
-UserDir public_html
+UserDir Sites
#
# Control access to UserDir directories. The following is an example
# for a site where these directories are restricted to read-only.
#
-<Directory /home/*/public_html>
+<Directory /Users/*/Sites>
AllowOverride FileInfo AuthConfig Limit Indexes
Options MultiViews Indexes SymLinksIfOwnerMatch IncludesNoExec
<Limit GET POST OPTIONS>
Change History (6)
Summary: |
httpd-userdir.conf not modified to work on Mac OS X →
httpd-userdir.conf not modified to work on Mac OS X (apache2 port)
|
Summary: |
httpd-userdir.conf not modified to work on Mac OS X (apache2 port) →
RFE: httpd-userdir.conf not modified to work on Mac OS X (apache2 port)
|
Resolution: |
→ fixed
|
Status: |
new →
closed
|
Description: |
modified (diff)
|
Milestone: |
→ Port Enhancements
|
Port: |
apache2 added
|
Reporter: |
changed from opendarwin-2006@… to ryandesign@…
|
Milestone: |
Port Enhancements
|
sounds very reasonable - James?