fix-h
This commit is contained in:
@@ -1,9 +1,5 @@
|
|||||||
AuthType Basic
|
RewriteCond %{HTTPS} !=on
|
||||||
AuthName "Your authorization required message."
|
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301,NE]
|
||||||
AuthUserFile /home/dev/.htpasswd
|
|
||||||
require valid-user
|
|
||||||
#RewriteCond %{HTTPS} !=on
|
|
||||||
#RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301,NE]
|
|
||||||
RewriteCond %{HTTP_HOST} ^www\.(.+)$ [NC]
|
RewriteCond %{HTTP_HOST} ^www\.(.+)$ [NC]
|
||||||
RewriteRule ^(.*)$ https://%1/$1 [R=301,L]
|
RewriteRule ^(.*)$ https://%1/$1 [R=301,L]
|
||||||
RewriteCond %{REQUEST_FILENAME} !-f
|
RewriteCond %{REQUEST_FILENAME} !-f
|
||||||
|
|||||||
Reference in New Issue
Block a user