Opened 18 years ago

Last modified 15 years ago

#7273 closed defect

httpd-userdir.conf not modified to work on Mac OS X — at Initial Version

Reported by: opendarwin-2006@… Owned by: james@…
Priority: Normal Milestone:
Component: ports Version: 1.2
Keywords: Cc:
Port: apache2

Description

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 (0)

Note: See TracTickets for help on using tickets.