I am trying to get Drupal working with FasCGI and APC on my current multisites install (same Drupal directory, different dbs)

I am almost done. But for getting all sites working, not only the default site, I had to modify the access rigths to the whole account directory from 710 to 711 ("List" allowed to "Others")
(the directory /home/mainAccount in /home/mainAccount/www where Drupal is)

This seems to be related to the fastcgi engine being run independently for each site making a different users calling for it in the very same file system.

Is that wrong?

That seems working well except than the DAV api of File Framework does no longer get access authorization.

Thanks for help

Comments

jvieille’s picture

Bellow the only configuration that worked in my httpd.conf:

"controlc" is both the default web site directory and user of the main site
(the one I had to downgrade the access rights to 0711)
"ccm" is both he the default web site directory and user for the secondary web site

What puzzles me is the mix between both accounts.
But if I put "controlc" everywhere; that seems working until a total mess takes place with all the sites mixed up together.
If I had proceeded with symlinks instead of normal Vhost install, (as in shared hosting), this configuration wouldn't have been possible

<VirtualHost 91.121.117.71:80>
        ServerAdmin webmaster@controlchainmanagement.org
        DocumentRoot /home/controlc/www
        SuexecUserGroup ccm users
        ServerName www.controlchainmanagement.org
        ServerAlias controlchainmanagement.org
        CustomLog logs/ccm-access_log combined
        ScriptAlias /cgi-bin/ /home/ccm/cgi-bin/


# Unquote for normal config 
#	AddHandler x-httpd-php5 .php 

#For FastCGI (quote ofr normal config)
	suPHP_Engine off
	<Directory />
		suPHP_Removehandler .php
	</Directory> 
	FastCgiServer /home/ccm/cgi-bin/php-wrap -user ccm -group users -processes 1 -idle-timeout 3600
	AddHandler php-fastcgi .php
	AddType application/x-httpd-php .php
	Action php-fastcgi /cgi-bin/php-wrap
#End of FastCGI specifics

	<Directory /home/controlc/www>
       	Allow from all
		Options +Includes +Indexes +FollowSymLinks
		AllowOverride all
	</Directory>
</VirtualHost>

JV