<VirtualHost 151.1.153.32:80>
<IfModule suexec_module>
SuexecUserGroup vu2001 vu2001
</IfModule>
ServerAdmin webmaster@assolavori.it
DocumentRoot /var/www/virtual/assolavori.it/htdocs
ServerName assolavori.it
ServerAlias www.assolavori.it assolavori.it *.assolavori.it vu2001.151.1.153.32
Alias /errors /var/www/virtual/assolavori.it/errors/
RedirectMatch permanent ^/ftp([\/]?) http://151.1.153.32/ftp/
RedirectMatch permanent ^/pma([\/]?) http://151.1.153.32/pma/
RedirectMatch permanent ^/webmail([\/]?) http://151.1.153.32/webmail/
RedirectMatch permanent ^/ispcp([\/]?) http://151.1.153.32/
ErrorDocument 401 /errors/401.html
ErrorDocument 403 /errors/403.html
ErrorDocument 404 /errors/404.html
ErrorDocument 500 /errors/500.html
ErrorDocument 503 /errors/503.html
<IfModule mod_cband.c>
CBandUser assolavori.it
</IfModule>
# httpd awstats support BEGIN.
ProxyRequests Off
<Proxy *>
Order deny,allow
Allow from all
</Proxy>
ProxyPass /stats http://localhost/stats/assolavori.it
ProxyPassReverse /stats http://localhost/stats/assolavori.it
<Location /stats>
<IfModule mod_rewrite.c>
RewriteEngine on
RewriteRule ^(.+)\?config=([^\?\&]+)(.*) $1\?config=assolavori.it&$3 [NC,L]
</IfModule>
AuthType Basic
AuthName "Statistics for domain assolavori.it"
AuthUserFile /var/www/virtual/assolavori.it/.htpasswd
AuthGroupFile /var/www/virtual/assolavori.it/.htgroup
Require group statistics
</Location>
# httpd awstats support END.
# httpd dmn entry cgi support BEGIN.
# httpd dmn entry cgi support END.
<Directory /var/www/virtual/assolavori.it/htdocs>
# httpd dmn entry PHP support BEGIN.
# httpd dmn entry PHP support END.
Options -Indexes Includes FollowSymLinks MultiViews
AllowOverride All
Order allow,deny
Allow from all
</Directory>
# httpd dmn entry PHP2 support BEGIN.
<IfModule mod_php5.c>
php_admin_value open_basedir "/var/www/virtual/assolavori.it/:/var/www/virtual/assolavori.it/phptmp/:/usr/share/php/"
php_admin_value upload_tmp_dir "/var/www/virtual/assolavori.it/phptmp/"
php_admin_value session.save_path "/var/www/virtual/assolavori.it/phptmp/"
php_admin_value sendmail_path '/usr/sbin/sendmail -f vu2001 -t -i'
</IfModule>
<IfModule mod_fastcgi.c>
ScriptAlias /php5/ /var/www/fcgi/assolavori.it/
<Directory "/var/www/fcgi/assolavori.it">
AllowOverride None
Options +ExecCGI -MultiViews -Indexes
Order allow,deny
Allow from all
</Directory>
</IfModule>
<IfModule mod_fcgid.c>
Include /etc/apache2/mods-available/fcgid_ispcp.conf
<Directory /var/www/virtual/assolavori.it/htdocs>
FCGIWrapper /var/www/fcgi/assolavori.it/php5-fcgi-starter .php
Options +ExecCGI
</Directory>
<Directory "/var/www/fcgi/assolavori.it">
AllowOverride None
Options +ExecCGI MultiViews -Indexes
Order allow,deny
Allow from all
</Directory>
</IfModule>
# httpd dmn entry PHP2 support END.
Include /etc/apache2/ispcp/assolavori.it.conf
</VirtualHost>
# httpd [assolavori.it] dmn entry END.
# httpd [assolavori.it] dmn group entry END.