|
|
Restoring the Apache config file after 10.2.4 update
Sorry, but you guys really need to think before you speak.
Restoring the Apache config file after 10.2.4 update
To clarify: You can put ANY httpd.conf-option in *.conf-files within /private/etc/httpd/users regardless of the /~user/-function.
Restoring the Apache config file after 10.2.4 update
Speaking of thinking before speaking...
Directives included in the /private/httpd/users/*.conf files have no particular bearing on ~user homes. The files placed there by the system (through account creation in the Users PrefPane) DO HAPPEN to house the Directory directives for the users, but that is not CAUSE, that is EFFECT. I am using several VirtualHosts.conf files in there as well that point all over my drive (the Shared folder as well as a VirtualHosts folder), including setting up an SSL-protected WebDAV share point.
Add this to /etc/httpd/users/php.conf
An example might help, this is the file I use to enable PHP. Didn't have to change a thing after updating to the newest OS X.
LoadModule php4_module libexec/httpd/libphp4.so AddModule mod_php4.c DirectoryIndex index.html index.php index.php3 AddType application/x-httpd-php .php AddType application/x-httpd-php-source .phps
Add this to /etc/httpd/users/php.conf
I am wondering whether if you have a user named php then this will break?
Add this to /etc/httpd/users/php.conf
No, not unless you create a file named php.conf in the /etc/httpd/users folder, and then create the PHP user using the Users PrefPane. I have never tried doing this, so I don't know what happens...that's why it would be smart to use a filename that is pretty unique (like 1stoverrides.conf). |
SearchFrom our Sponsor...Latest Mountain Lion HintsWhat's New:HintsNo new hintsComments last 2 daysLinks last 2 weeksNo recent new linksWhat's New in the Forums?
Hints by TopicNews from Macworld
From Our Sponsors |
|
Copyright © 2014 IDG Consumer & SMB (Privacy Policy) Contact Us All trademarks and copyrights on this page are owned by their respective owners. |
Visit other IDG sites: |
|
|
|
Created this page in 0.09 seconds |
|