Current time: 11-25-2024, 10:31 AM Hello There, Guest! (LoginRegister)


Post Reply 
problem with 500 error on php pages of virtual host
Author Message
joximu Offline
helper
*****
Moderators

Posts: 7,024
Joined: Jan 2007
Reputation: 92
Post: #8
RE: problem with 500 error on php pages of virtual host
Hi

php.ini: I assume you did change some settings in the several php.ini files (tmp path for example) - but this should work...
For new domains: change the php.ini template in
/etc/ispcp/fcgi/parts/php5/php.ini

awstats: there is no /var/www/ispcp/gui/awstats ...
the awstats support consists of several setings:
in the apache ispcp.conf:
Quote: # httpd awstats support BEGIN.

ProxyRequests Off

<Proxy *>
Order deny,allow
Allow from all
</Proxy>

ProxyPass /stats http://localhost/stats/test.tld
ProxyPassReverse /stats http://localhost/stats/test.tld

<Location /stats>
<IfModule mod_rewrite.c>
RewriteEngine on
RewriteRule ^(.+)\?config=([^\?\&]+)(.*) $1\?config=test.tld&$3 [NC,L]
</IfModule>
AuthType Basic
AuthName "Statistics for domain test.tld"
AuthUserFile /var/www/virtual/test.tld/.htpasswd
AuthGroupFile /var/www/virtual/test.tld/.htgroup
Require group statistics
</Location>

# httpd awstats support END.

and /etc/apache2/sites-enabled/01_awstats.conf

at least this should be sufficient for the web-part of awstats...
(of course there are conf files for every domain in /etc/awstats...)

/J
05-23-2013 08:41 AM
Visit this user's website Find all posts by this user Quote this message in a reply
Post Reply 


Messages In This Thread
RE: problem with 500 error on php pages of virtual host - joximu - 05-23-2013 08:41 AM

Forum Jump:


User(s) browsing this thread: 1 Guest(s)