Issue with DH web permissions


#1

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?

[color=#0000CC]=========================================[/color]
Pay $20 for Dreamhost registration with coupon [color=#CC0000]MERIPOL[/color]


#2

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