Control Web Panel

WebPanel => Apache => Topic started by: Glenn on March 31, 2015, 11:26:18 AM

Title: 0.9.8.4 Apache changes
Post by: Glenn on March 31, 2015, 11:26:18 AM
Hi

Does anyone know why i get this error on phpPgAdmin from the link in CWP admin

[Tue Mar 31 13:14:45 2015] [error] [client 127.0.0.1] SoftException in Application.cpp:221: File "/usr/local/apache/htdocs/phpPgA                                 dmin/index.php" is not in document root of Vhost

Roundcube and phpMyAdmin links dont work either i get a 404 not found on them.
Title: Re: 0.9.8.4 Apache changes
Post by: brijendrasial on March 31, 2015, 12:17:00 PM
for roundcube and phpmyadmin is there any log generated in error_log file?
Title: Re: 0.9.8.4 Apache changes
Post by: Glenn on March 31, 2015, 12:19:57 PM
Nope it just goes to a 404 on whatever domain i try and use , so for eg http://www.mydomain.com/phpMyAdmin id just get a 404 it works on ip address i see now , so im guessing its either Apache or Varnish related
Title: Re: 0.9.8.4 Apache changes
Post by: Administrator on March 31, 2015, 04:51:14 PM
you can try to rebuild your apache, that should also restore your apache aliases.
Title: Re: 0.9.8.4 Apache changes
Post by: Glenn on March 31, 2015, 05:01:17 PM
Yes that'll work , but it would ruin the fun of figuring out how to fix it (-;
Title: Re: 0.9.8.4 Apache changes
Post by: Administrator on March 31, 2015, 05:03:25 PM
this isn't something spectacular, you can check/google apache alias instructions.
Title: Re: 0.9.8.4 Apache changes
Post by: Glenn on March 31, 2015, 05:36:38 PM
I found this http://forum.centos-webpanel.com/aplications/phpmyadmin-alias-error-500-internal-server/msg1062/#msg1062 (http://forum.centos-webpanel.com/aplications/phpmyadmin-alias-error-500-internal-server/msg1062/#msg1062))

The rest ill figure out , thanks again for the help , 10% of all sales on my CWP server will be donations for the excellent software
Title: Re: 0.9.8.4 Apache changes
Post by: Administrator on March 31, 2015, 08:03:10 PM
yes you can use that example, but by rebuilding apache all aliases and redirects will be also added so you don't need to add them manually and there is probably more than 20 of this records in the configuration.
Title: Re: 0.9.8.4 Apache changes
Post by: Glenn on April 01, 2015, 07:22:51 AM
Thats true , i didnt consider that , will any of the vhost configuration change ?
Title: Re: 0.9.8.4 Apache changes
Post by: Administrator on May 04, 2015, 09:09:42 PM
only if you did manual changes, but you can always make a backup.