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 SetHandler ruby-object RubyHandler Apache::RubyRun.instance SetHandler ruby-object RubyHandler Apache::RubyRun.instance 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 RewriteEngine on RewriteCond %{HTTP_HOST} ^$ [NC] RewriteRule ^(.*)$ http://$1 [R=301,L] RewriteCond %{HTTP_HOST} $ [NC] RewriteRule ^/(.*)$ $1 # add support for apache mpm_itk AssignUserId # Do not execute PHP files in webdav directory 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