1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55
| DocumentRoot /home/laroutedethor/public_html
ServerName thorcrossing.co.uk
SuexecUserGroup "#1025" "#1017"
ErrorLog /var/log/virtualmin/laroutedethor.fr_error_log
CustomLog /var/log/virtualmin/laroutedethor.fr_access_log combined
ScriptAlias /cgi-bin/ /home/laroutedethor/cgi-bin/
DirectoryIndex index.html index.htm index.php index.php4 index.php5
<Directory "/home/laroutedethor/public_html">
Options -Indexes +IncludesNOEXEC +SymLinksIfOwnerMatch +ExecCGI
allow from all
AllowOverride All Options=ExecCGI,Includes,IncludesNOEXEC,Indexes,MultiViews,SymLinksIfOwnerMatch
Require all granted
AddType application/x-httpd-php .php
AddHandler fcgid-script .php
AddHandler fcgid-script .php5
AddHandler fcgid-script .php7.0
AddHandler fcgid-script .php7.1
AddHandler fcgid-script .php7.2
FCGIWrapper /home/laroutedethor/fcgi-bin/php5.fcgi .php
FCGIWrapper /home/laroutedethor/fcgi-bin/php5.fcgi .php5
FCGIWrapper /home/laroutedethor/fcgi-bin/php7.0.fcgi .php7.0
FCGIWrapper /home/laroutedethor/fcgi-bin/php7.1.fcgi .php7.1
FCGIWrapper /home/laroutedethor/fcgi-bin/php7.2.fcgi .php7.2
</Directory>
<Directory "/home/laroutedethor/cgi-bin">
allow from all
AllowOverride All Options=ExecCGI,Includes,IncludesNOEXEC,Indexes,MultiViews,SymLinksIfOwnerMatch
Require all granted
</Directory>
RewriteEngine on
RewriteCond %{HTTP_HOST} =webmail.laroutedethor.fr
RewriteRule ^(.*) https://laroutedethor.fr:20000/ [R]
RewriteCond %{HTTP_HOST} =admin.laroutedethor.fr
RewriteRule ^(.*) https://laroutedethor.fr:10000/ [R]
RemoveHandler .php
RemoveHandler .php5
RemoveHandler .php7.0
RemoveHandler .php7.1
RemoveHandler .php7.2
php_admin_value engine Off
IPCCommTimeout 31
FcgidMaxRequestLen 1073741824
Alias /dav "/home/laroutedethor/public_html"
<Location /dav>
DAV on
AuthType Basic
AuthName "laroutedethor.fr"
AuthUserFile /home/laroutedethor/etc/dav.digest.passwd
Require valid-user
ForceType text/plain
Satisfy All
RemoveHandler .php
RemoveHandler .php5
RewriteEngine off
</Location> |
Partager