AllowOverride None
Order Deny,Allow
Deny from all
DocumentRoot /var/www/mysite.net/web
ServerName mysite.net
ServerAlias www.mysite.net
ServerAdmin webmaster@mysite.net
ErrorLog /var/log/ispconfig/httpd/mysite.net/error.log
ErrorDocument 400 /error/400.html
ErrorDocument 401 /error/401.html
ErrorDocument 403 /error/403.html
ErrorDocument 404 /error/404.html
ErrorDocument 405 /error/405.html
ErrorDocument 500 /error/500.html
ErrorDocument 503 /error/503.html
Options FollowSymLinks
AllowOverride All
Order allow,deny
Allow from all
Options FollowSymLinks
AllowOverride All
Order allow,deny
Allow from all
# cgi enabled
Order allow,deny
Allow from all
ScriptAlias /cgi-bin/ /var/www/clients/client1/web2/cgi-bin/
AddHandler cgi-script .cgi
AddHandler cgi-script .pl
# suexec enabled
SuexecUserGroup web2 client1
# Clear PHP settings of this website
SetHandler None
# php as fast-cgi enabled
# SocketPath /tmp/fcgid_sock/
IdleTimeout 3600
ProcessLifeTime 7200
# MaxProcessCount 1000
DefaultMinClassProcessCount 3
DefaultMaxClassProcessCount 100
IPCConnectTimeout 8
IPCCommTimeout 360
BusyTimeout 300
AddHandler fcgid-script .php .php3 .php4 .php5
FCGIWrapper /var/www/php-fcgi-scripts/web2/.php-fcgi-starter .php
Options +ExecCGI
AllowOverride All
Order allow,deny
Allow from all
AddHandler fcgid-script .php .php3 .php4 .php5
FCGIWrapper /var/www/php-fcgi-scripts/web2/.php-fcgi-starter .php
Options +ExecCGI
AllowOverride All
Order allow,deny
Allow from all
# add support for apache mpm_itk
AssignUserId web2 client1
###########################################################
# SSL Vhost
###########################################################
#Listen 443
#NameVirtualHost *:443
DocumentRoot /var/www/clients/client1/web2/web
ServerName www.mysite.net
ServerAlias mysite.net
ServerAdmin webmaster@mysite.net
ErrorLog /var/log/ispconfig/httpd/mysite.net/error.log
ErrorDocument 400 /error/400.html
ErrorDocument 401 /error/401.html
ErrorDocument 403 /error/403.html
ErrorDocument 404 /error/404.html
ErrorDocument 405 /error/405.html
ErrorDocument 500 /error/500.html
ErrorDocument 503 /error/503.html
SSLEngine on
SSLOptions StrictRequire
SSLProtocol all -SSLv2
SSLCipherSuite ALL:!ADH:!EXPORT:!SSLv2:RC4+RSA:+HIGH:+MEDIUM
SSLCertificateChainFile /etc/ssl/certs/startssl-sub.class1.server.ca.pem
SSLCACertificateFile /etc/ssl/certs/startssl-ca.pem
SetEnvIf User-Agent ".*MSIE.*" nokeepalive ssl-unclean-shutdown
SSLCertificateFile /var/www/clients/client1/web2/ssl/mysite.net.crt
SSLCertificateKeyFile /var/www/clients/client1/web2/ssl/mysite.net.key
SSLRequireSSL
Options FollowSymLinks
AllowOverride All
Order allow,deny
Allow from all
SSLRequireSSL
Options FollowSymLinks
AllowOverride All
Order allow,deny
Allow from all
# cgi enabled
Order allow,deny
Allow from all
ScriptAlias /cgi-bin/ /var/www/clients/client1/web2/cgi-bin/
AddHandler cgi-script .cgi
AddHandler cgi-script .pl
# suexec enabled
SuexecUserGroup web2 client1
# Clear PHP settings of this website
SetHandler None
# php as fast-cgi enabled
# SocketPath /tmp/fcgid_sock/
IdleTimeout 3600
ProcessLifeTime 7200
# MaxProcessCount 1000
DefaultMinClassProcessCount 3
DefaultMaxClassProcessCount 100
IPCConnectTimeout 8
IPCCommTimeout 360
BusyTimeout 300
AddHandler fcgid-script .php .php3 .php4 .php5
FCGIWrapper /var/www/php-fcgi-scripts/web2/.php-fcgi-starter .php
Options +ExecCGI
AllowOverride All
Order allow,deny
Allow from all
AddHandler fcgid-script .php .php3 .php4 .php5
FCGIWrapper /var/www/php-fcgi-scripts/web2/.php-fcgi-starter .php
Options +ExecCGI
AllowOverride All
Order allow,deny
Allow from all
# add support for apache mpm_itk
AssignUserId web2 client1