Issue with DH web permissions

Issue with DH web permissions

Posted by: voipfc
Posted on: 2007-06-20 04:09:00


I setup a domain to standard web serving rather than FastCGI and I noticed that Apache appears to run as the owner.

The index.php and configuration.php only stopped working when I executed chmod u-r on it. I thought Apache as apache or nobody with the o+rx permissions.

Does this means that DH run Apache in CGI mode at all times and the Control Panel option is just for switching it to FastCGI?



=========================================
Pay $20 for Dreamhost registration with coupon MERIPOL

Re: Issue with DH web permissions

Posted by: misterhaan
Posted on: 2007-06-20 07:13:00

yes, dreamhost always runs php as cgi so it runs as your user and not a generic machine account. generally it's best to leave it like this (though unfortunately you can't set php settings via .htaccess), but on some servers you can put a line in .htaccess to use php4 as an apache module instead -- i think there's something in the wiki about it.

track7 - my dream-hosted site

Tags: apachedhdreamhostconfiguration phpcgi modechmodcontrol panel