Das Template unterstützt die Deaktivierung des Fallbacks auf htdocs(-ssl) nicht nicht als Verzeichnis angelegte Subdomains unter subs(-ssl).
This commit is contained in:
parent
fedfa6f6c0
commit
aad18738f3
@ -26,11 +26,16 @@
|
||||
|
||||
RewriteEngine On
|
||||
RewriteOptions Inherit
|
||||
|
||||
RewriteCond %{HTTP_HOST} ^(.+)\.{DOM_HOSTNAME}\.?(:80)?$ [novary]
|
||||
RewriteCond /home/doms/{DOM_HOSTNAME}/subs/${tolower:%1} -d
|
||||
RewriteRule ^(.*) /home/doms/{DOM_HOSTNAME}/subs/${tolower:%1}$1 [last]
|
||||
|
||||
</VirtualHost>
|
||||
<!-- BEGIN: nosubdomainfallbackforhttp --> RewriteCond %{HTTP_HOST} ^(.+)\.{DOM_HOSTNAME}\.?(:80)?$ [novary]
|
||||
RewriteCond /home/doms/{DOM_HOSTNAME}/subs/${tolower:%1} !-d
|
||||
RewriteRule ^(.*) - [redirect=404,last]
|
||||
|
||||
<!-- END: nosubdomainfallbackforhttp --></VirtualHost>
|
||||
|
||||
<VirtualHost {DOM_IPNUMBER}:443 {DOM_IPNUMBEREX}:443>
|
||||
|
||||
@ -67,9 +72,14 @@
|
||||
|
||||
RewriteEngine On
|
||||
RewriteOptions Inherit
|
||||
|
||||
RewriteCond %{HTTP_HOST} ^(.+)\.{DOM_HOSTNAME}\.?(:443)?$ [novary]
|
||||
RewriteCond /home/doms/{DOM_HOSTNAME}/subs-ssl/${tolower:%1} -d
|
||||
RewriteRule ^(.*) /home/doms/{DOM_HOSTNAME}/subs-ssl/${tolower:%1}$1 [last]
|
||||
|
||||
</VirtualHost>
|
||||
<!-- BEGIN: nosubdomainfallbackforhttps --> RewriteCond %{HTTP_HOST} ^(.+)\.{DOM_HOSTNAME}\.?(:443)?$ [novary]
|
||||
RewriteCond /home/doms/{DOM_HOSTNAME}/subs-ssl/${tolower:%1} !-d
|
||||
RewriteRule ^(.*) - [redirect=404,last]
|
||||
|
||||
<!-- END: nosubdomainfallbackforhttps --></VirtualHost>
|
||||
<!-- END: main -->
|
Loading…
Reference in New Issue
Block a user