Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the '10.4: Check changes made to Apache's config file' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
10.4: Check changes made to Apache's config file
Authored by: metafeather on Oct 07, '05 12:33:03PM

As far as I can remember (10.0?) Apple has always provided a place for custom apache directives:

/etc/httpd/users/<login name>.conf

Every time a user account is created in OS X a blank file is created here, and there has always been a directive in the standard Apple apache conf to include all these files, as the last line:

Include /etc/httpd/users/*.conf

Personally all I have ever put in this file is an include directive of my own to where-ever I want to keep my own apache conf e.g.:

Include /Users/<login name>/UNIX/etc/httpd/localhost.conf

Its a shame that some packages edit the apache conf directly when they could also add their own files to the /users/ dir themselves, and this way even if Apple suddenly decide to enable PHP themselves, all that would happen is a warning about duplicate modules in the logs.



[ Reply to This | # ]