AllowOverride None
Order Deny,Allow
Deny from all
DocumentRoot
DocumentRoot
DocumentRoot
ServerName
ServerAdmin webmaster@
ErrorLog /var/log/ispconfig/httpd//error.log
Alias /error/ "/error/"
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 502 /error/502.html
ErrorDocument 503 /error/503.html
SSLEngine on
SSLCertificateFile /ssl/.crt
SSLCertificateKeyFile /ssl/.key
SSLCACertificateFile /ssl/.bundle
Options FollowSymLinks
AllowOverride
Order allow,deny
Allow from all
# ssi enabled
AddType text/html .shtml
AddOutputFilter INCLUDES .shtml
Options +Includes
Order allow,deny
Deny from all
Allow from none
Options FollowSymLinks
AllowOverride
Order allow,deny
Allow from all
# ssi enabled
AddType text/html .shtml
AddOutputFilter INCLUDES .shtml
Options +Includes
Order allow,deny
Deny from all
Allow from none
Options +ExecCGI
RubyRequire apache/ruby-run
#RubySafeLevel 0
AddType text/html .rb
AddType text/html .rbx
SetHandler ruby-object
RubyHandler Apache::RubyRun.instance
SetHandler ruby-object
RubyHandler Apache::RubyRun.instance
PerlModule ModPerl::Registry
PerlModule Apache2::Reload
PerlResponseHandler ModPerl::Registry
PerlOptions +ParseHeaders
Options +ExecCGI
SetHandler perl-script
AddHandler mod_python .py
PythonHandler mod_python.publisher
PythonDebug On
# cgi enabled
Order allow,deny
Allow from all
ScriptAlias /cgi-bin/ /cgi-bin/
AddHandler cgi-script .cgi
AddHandler cgi-script .pl
# suexec enabled
SuexecUserGroup
# Clear PHP settings of this website
SetHandler None
# mod_php enabled
AddType application/x-httpd-php .php .php3 .php4 .php5
php_admin_value sendmail_path "/usr/sbin/sendmail -t -i -fwebmaster@"
php_admin_value upload_tmp_dir /tmp
php_admin_value session.save_path /tmp
# PHPIniDir
php_admin_value open_basedir
# suphp enabled
suPHP_Engine on
# suPHP_UserGroup
suPHP_ConfigPath
AddHandler x-httpd-suphp .php .php3 .php4 .php5
suPHP_AddHandler x-httpd-suphp
# php as cgi enabled
ScriptAlias /php5-cgi
Action php5-cgi /php5-cgi
AddHandler php5-cgi .php .php3 .php4 .php5
Order allow,deny
Allow from all
# php as fast-cgi enabled
# For config options see: http://httpd.apache.org/mod_fcgid/mod/mod_fcgid.html
FcgidIdleTimeout 300
FcgidProcessLifeTime 3600
# FcgidMaxProcesses 1000
FcgidMinProcessesPerClass 0
FcgidMaxProcessesPerClass 100
FcgidConnectTimeout 3
FcgidIOTimeout 360
FcgidBusyTimeout 300
FcgidMaxRequestLen 1073741824
IdleTimeout 300
ProcessLifeTime 3600
# MaxProcessCount 1000
DefaultMinClassProcessCount 0
DefaultMaxClassProcessCount 100
IPCConnectTimeout 3
IPCCommTimeout 360
BusyTimeout 300
AddHandler fcgid-script .php .php3 .php4 .php5
FCGIWrapper .php
Options +ExecCGI
AllowOverride
Order allow,deny
Allow from all
AddHandler fcgid-script .php .php3 .php4 .php5
FCGIWrapper .php
Options +ExecCGI
AllowOverride
Order allow,deny
Allow from all
Order allow,deny
Allow from all
AddHandler php5-fcgi .php
Action php5-fcgi /php5-fcgi
Alias /php5-fcgi /usr/lib/cgi-bin/php5-fcgi
FastCgiExternalServer /usr/lib/cgi-bin/php5-fcgi -host 127.0.0.1: -pass-header Authorization
FastCgiExternalServer /usr/lib/cgi-bin/php5-fcgi -socket -pass-header Authorization
RewriteEngine on
RewriteCond %{HTTP_HOST} ^$ [NC]
RewriteRule ^(.*)$ http://$1 [R=301,L]
RewriteCond %{HTTP_HOST} $ [NC]
RewriteCond %{REQUEST_URI} !^/webdav/
RewriteCond %{REQUEST_URI} !^
RewriteRule ^/(.*)$ $1
# add support for apache mpm_itk
AssignUserId
# Do not execute PHP files in webdav directory
SecRuleRemoveById 960015
SecRuleRemoveById 960032
SetHandler None
DavLockDB {tmpl_var name='document_root'}/tmp/DavLock
# DO NOT REMOVE THE COMMENTS!
# IF YOU REMOVE THEM, WEBDAV WILL NOT WORK ANYMORE!
# WEBDAV BEGIN
# WEBDAV END