500 error

comnfo

Verified User
Joined
Aug 22, 2011
Messages
9
i updated from php-fpm to fastcgi using custombuild 2.0 and all went well except that i can not access /squirrelmail or /phpmyadmin because i get the 500 internal error. i tired the permission issue correction but still no available. can someone direct me how to make it work? thanks much!

chmod 755 /var/
chmod 550 /var/www/
chown webapps:apache /var/www/
chmod 755 /var/www/html/
chown webapps:webapps /var/www/html/
 
update

ip address/squirrelmail worked and phpmyadmin too.

i need to update the alias to domain name and tired this code but did not work after updating service httpd restart. advise? thanks.


/usr/bin/perl -pi -e 's/Start DirectAdmin Settings/Start DirectAdmin Settings\nAlias \/squirrelmail \/var\/www\/html\/squirrelmail\//' /etc/httpd/conf/httpd.conf;
 
You already should have aliases for squirrelmail in /etc/httpd/conf/extra/httpd-alias.conf
 
yes, aliases for squirrelmail are both in /etc/httpd/conf/extra/httpd-alias.conf and /usr/local/directadmin/custombuild/configure/ap2/conf/extra/httpd-alias.conf

i checked the suexec_log and receive this message:

cannot get safe directory information (/usr/local/safe-bin)

maybe this is the cause?
 
I can confirm the issue. Experiencing the same error, with the same configuration.

Aliases are present in the .conf files, but everything from /var/www/html/ (webapps) are giving issues.
 
Back
Top