On 02/03/2010 01:09 PM, Thomas Antony wrote:
On 02/03/2010 12:11 PM, Gary Smith wrote:They should not be able to use the default site's /files directory but /sites/<site>/files Any ideas ? According to suExec docs, target file must be owned by the user and group specified in SuExecUserGroup directive. But this is not possible here. /srv/htdocs/main (drupal codebase) is owned by www:wwwYou might want to check out suphp. We that might be a little more useful for the drupal install. We use it for some wordpress installs to the something similar. --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See<URL:http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxxNo, I'm using FastCGI. I don't want to load any PHP module inside apache as FastCGI gives much better performance.Hi, Maybe this howto can help you. http://www.howtoforge.com/how-to-set-up-apache2-with-mod_fcgid-and-php5-on-opensuse-11.2 http://httpd.apache.org/mod_fcgid/ Thomas --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See <URL:http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx
You're not getting my point. Currently the thing is setup using mod_fastcgi (fastcgi.com).
The drupal codebase is located at /srv/htdocs/main itech7.com is the default site and /srv/htdocs/main is its docroot.I have another domain whose docroot is also same, but drupal configuration makes it a different site (/srv/htdocs/main/sites/<domain>/
Now if index.php is requested, it is loaded from /srv/htdocs/main/index.php and so for all other files.
/srv is owned by www:wwwNow when I browse my new domain, I want that it is run by some other user foo:foo so that /srv/htdocs/main/files (itech7.com's cache, files, etc.) is not writeable by the new install.
But it is not working. SuExec wrapper is loaded, but index.php is being run by www:www instead of newuser.
-- Nilesh Govindarajan Site & Server Adminstrator www.itech7.com --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See <URL:http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx