please help: alias 500 error: /webmail /phpmyadmin

We've found one more cause for "No input file specified." on CloudLinux systems (with CageFS installed). A fix for that is adding /var/www/html into /etc/cagefs/cagefs.mp and doing the following afterwards:
Code:
cagefsctl --remount-all

/var/www/html will be added into /etc/cagefs/cagefs.mp by default with the future versions of CageFS.
 
Incorrect permission? That is the first time iv seen that /var/www/ need a 551. Elsewhere in the forums its specified as 550. Howcome none of the ./build script fix this?

I got no reply to the above?
 
If you'd go to hostname/roundcube, it would work with no problems, because the user executing it is webapps and webapps owns the /var/www directory (ls -l /var | grep www). However, when you go to domain.com/roundcube, it executes the process as a user. You can test that by adding the following content to /var/www/html/roundcube/whoami.php:
Code:
<?php
print exec('whoami'); 
?>

Then go to http://www.domain.com/roundcube/whoami.php and you will see the the owner's name of domain.com.

By the way, chmod 551 is set by default by CustomBuild (when you build apache).
 
Anohter solution

I have used custombuild 2.0 to cutomize my server: apache 2.4.4 - PHP 5.3.23 - FastCGI and more...

you and I can open this link: http://78.47.80.79/phpmyadmin/

but a link with a domain returns 500 internal error, you can check: http://www.shivahost.net/phpmyadmin/

or

http://78.47.80.79/roundcube/ is ok
http://www.shivahost.net/roundcube/ is not ok

Please help me....


The problem occuerd to me after upgrading from php 5.3.xx to 5.6.26
The solution was to edit /etc/httpd/conf/extra/httd-alias.conf

Inside i added:

Alias /webmail /var/www/html/roundcube

In my case the problem was solved....
 
Xonline actually a "/usr/local/directadmin/custombuild/build rewrite_confs" should also rewrite the alias file for you ;)

Best regards
 
Back
Top