symlink to roundcube webmail displays "No input file specified." I've created a symlink to the /webmail directory on my main website on all of my client's websites. It works fine on the main website, but on all of the client sites it says: "No input file specified."
I'm not sure, here is what's in mysite.com.vhost file: <Directory /var/www/criticalwire.com/web> Options FollowSymLinks AllowOverride All Order allow,deny Allow from all </Directory> <Directory /var/www/clients/client1/web1/web> Options FollowSymLinks AllowOverride All Order allow,deny Allow from all </Directory>
Here we go: Code: [Sun Mar 07 10:55:25 2010] [notice] mod_fcgid: call /var/www/site1.com/web/webmail/index.php with wrapper /var/www/php-fcgi-scripts/web7/.php-fcgi-starter ..not that I can make any sense out of it.
Oh, you're using mod_fcgid. I guess it is a permissions problem because /var/www/site1.com/web/webmail/index.php isn't owned by the correct user and group.
The problem is that each mod_fcgid web site requires another user and group. I think it's better to use mod_php in this case.
Still no luck, same problem when I changed it to mod_php. EDIT: Forgot to add it to mod_php to the client. But now I'm getting a screen when trying to view the webmail page on the client.
With the following in the error.log of the client: Code: [Tue Mar 09 12:23:13 2010] [error] [client 192.168.1.50] PHP Fatal error: Unknown: Failed opening required '/var/www/clientsite.com/web/webmail/index.php' (include_path='.:/usr/share/php:/usr/share/pear') in Unknown on line 0
This is super frustrating. It's obviously a permissions error, but I can't seem to figure out what permissions to give to one; the symlink, and two the webmail folder everyone is being directed to.
This was the only way I was able to resolve the problem: edit /etc/apache2/sites-enabled/sitename.com.vhost and change to: Code: php_admin_value open_basedir none Is this safe to do? And if so, how can I make it so that it automatically does this when it creates a new site?