obsolete directives
This commit is contained in:
@@ -65,12 +65,12 @@
|
|||||||
# Block access to .git directory
|
# Block access to .git directory
|
||||||
RewriteRule .*\.git/.* - [L,R=404]
|
RewriteRule .*\.git/.* - [L,R=404]
|
||||||
|
|
||||||
<If "%{HTTP_HOST} !~ /(\.local|^localhost(:\d+)?$)/">
|
# <If "%{HTTP_HOST} !~ /(\.local|^localhost(:\d+)?$)/">
|
||||||
# Force HTTPS and www in prod
|
# # Force HTTPS and www in prod
|
||||||
RewriteCond %{HTTPS} off [OR]
|
# RewriteCond %{HTTPS} off [OR]
|
||||||
RewriteCond %{HTTP_HOST} !^www\. [NC]
|
# RewriteCond %{HTTP_HOST} !^www\. [NC]
|
||||||
RewriteRule ^ https://www.stemmechanics.com.au%{REQUEST_URI} [L,R=301]
|
# RewriteRule ^ https://www.stemmechanics.com.au%{REQUEST_URI} [L,R=301]
|
||||||
</If>
|
# </If>
|
||||||
|
|
||||||
# Handle Authorization Header
|
# Handle Authorization Header
|
||||||
RewriteCond %{HTTP:Authorization} .
|
RewriteCond %{HTTP:Authorization} .
|
||||||
|
|||||||
Reference in New Issue
Block a user