Update .htaccess
This commit is contained in:
@@ -117,6 +117,10 @@ ErrorDocument 401 /401.php
|
|||||||
|
|
||||||
# Redirección a HTTPS y a WWW
|
# Redirección a HTTPS y a WWW
|
||||||
|
|
||||||
|
RewriteCond %{HTTPS} on
|
||||||
|
RewriteCond %{REMOTE_ADDR} ^82\.223\.107\.124$
|
||||||
|
RewriteRule ^(.*)$ http://%{HTTP_HOST}%{REQUEST_URI} [R=302,L]
|
||||||
|
|
||||||
RewriteCond %{SERVER_PORT} 80
|
RewriteCond %{SERVER_PORT} 80
|
||||||
RewriteRule ^(.*)$ https://%{HTTP_HOST}/$1 [R=301,L]
|
RewriteRule ^(.*)$ https://%{HTTP_HOST}/$1 [R=301,L]
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user