HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   Installation/Configuration (http://www.howtoforge.com/forums/forumdisplay.php?f=27)
-   -   symlink to roundcube webmail displays "No input file specified." (http://www.howtoforge.com/forums/showthread.php?t=43870)

bswinnerton 6th March 2010 02:04

symlink to roundcube webmail displays "No input file specified."
 
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."

falko 6th March 2010 13:21

Are symlinks allowed for the virtual hosts?

bswinnerton 6th March 2010 22:32

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>

falko 7th March 2010 16:10

Quote:

Options FollowSymLinks
Hm, symbolic links are allowed... Are there any errors in Apache's error log?

bswinnerton 7th March 2010 17:59

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.

falko 8th March 2010 14:15

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.

bswinnerton 8th March 2010 15:55

Hmm, well who should it be owned by?

I wasn't unaware that I was using the mod to be honest.

falko 9th March 2010 16:24

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.

bswinnerton 9th March 2010 18:00

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.

bswinnerton 9th March 2010 19:24

Quote:

Originally Posted by bswinnerton (Post 221520)
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


All times are GMT +2. The time now is 11:25.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.