diff --git a/server/conf/vhost.conf.master b/server/conf/vhost.conf.master index 4300660693c480c2bff112d661e179fddfcab225..eac3684ee8a792403b7102659196cc6a01786ab8 100644 --- a/server/conf/vhost.conf.master +++ b/server/conf/vhost.conf.master @@ -1,268 +1,270 @@ - AllowOverride None - Order Deny,Allow - Deny from all + AllowOverride None + Order Deny,Allow + Deny from all - DocumentRoot + DocumentRoot - - DocumentRoot - - DocumentRoot - + + DocumentRoot + + DocumentRoot + - ServerName + ServerName - + - ServerAdmin webmaster@ + ServerAdmin webmaster@ - ErrorLog /var/log/ispconfig/httpd//error.log + 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 + 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 + SSLCertificateFile /ssl/.crt + SSLCertificateKeyFile /ssl/.key - SSLCACertificateFile /ssl/.bundle + SSLCACertificateFile /ssl/.bundle - + - - Options FollowSymLinks - AllowOverride - Order allow,deny - Allow from all + + Options FollowSymLinks + AllowOverride + Order allow,deny + Allow from all - - # ssi enabled - AddType text/html .shtml - AddOutputFilter INCLUDES .shtml - Options +Includes + + # ssi enabled + AddType text/html .shtml + AddOutputFilter INCLUDES .shtml + Options +Includes - - Order allow,deny - Deny from all - Allow from none - + + Order allow,deny + Deny from all + Allow from none + - - - Options FollowSymLinks - AllowOverride - Order allow,deny - Allow from all + + + Options FollowSymLinks + AllowOverride + Order allow,deny + Allow from all - - # ssi enabled - AddType text/html .shtml - AddOutputFilter INCLUDES .shtml - Options +Includes + + # ssi enabled + AddType text/html .shtml + AddOutputFilter INCLUDES .shtml + Options +Includes - - Order allow,deny - Deny from all - Allow from none - + + 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 - - + + + 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 + + - - - AddHandler mod_python .py - PythonHandler mod_python.publisher - PythonDebug On - - + + + AddHandler mod_python .py + PythonHandler mod_python.publisher + PythonDebug On + + - # cgi enabled + # cgi enabled - Order allow,deny - Allow from all - - ScriptAlias /cgi-bin/ /cgi-bin/ - AddHandler cgi-script .cgi - AddHandler cgi-script .pl + Order allow,deny + Allow from all + + ScriptAlias /cgi-bin/ /cgi-bin/ + AddHandler cgi-script .cgi + AddHandler cgi-script .pl - # suexec enabled - - SuexecUserGroup - + # suexec enabled + + SuexecUserGroup + - # Clear PHP settings of this website - - SetHandler None - + # 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 + # 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 + php_admin_value open_basedir - # suphp enabled - + # suphp enabled + - suPHP_Engine on - # suPHP_UserGroup + suPHP_Engine on + # suPHP_UserGroup suPHP_ConfigPath - AddHandler x-httpd-suphp .php .php3 .php4 .php5 - suPHP_AddHandler x-httpd-suphp + 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 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 + # 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 + 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 + 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 - + + + 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 + + + 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 -host 127.0.0.1: -pass-header Authorization - FastCgiExternalServer /usr/lib/cgi-bin/php5-fcgi -socket -pass-header Authorization + FastCgiExternalServer /usr/lib/cgi-bin/php5-fcgi -socket -pass-header Authorization - + - RewriteEngine on + RewriteEngine on - RewriteCond %{HTTP_HOST} ^$ [NC] - RewriteRule ^(.*)$ http://$1 [R=301,L] + RewriteCond %{HTTP_HOST} ^$ [NC] + RewriteRule ^(.*)$ http://$1 [R=301,L] - RewriteCond %{HTTP_HOST} $ [NC] + RewriteCond %{HTTP_HOST} $ [NC] RewriteCond %{REQUEST_URI} !^/webdav/ - RewriteRule ^/(.*)$ $1 + RewriteRule ^/(.*)$ $1 - # add support for apache mpm_itk - - AssignUserId - + # 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 - + + # 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 +