1
Sviluppo / Come escludere una pagina dalle regole di htaccess?
« il: 17 Ott 2016, 10:50:02 »
Ciao
ho 2 regole in htaccess che rispettivamente:
- evitano che il sito venga visto senza www. davanti
- passano da http a https
RewriteEngine On
RewriteCond %{HTTP_HOST} ^terapiadicoppiabrescia.it [NC]
RewriteRule ^(.*)$ http://www.terapiadicoppiabrescia.it/$1 [L,R=301]
RewriteCond %{HTTPS} !=on
RewriteRule ^.*$ https://%{SERVER_NAME}%{REQUEST_URI} [R,L]
Il problema è che ho una pagina che deve restare sempre in http e non fare il redirect in https mai
che posso fare?
grazie
ho 2 regole in htaccess che rispettivamente:
- evitano che il sito venga visto senza www. davanti
- passano da http a https
RewriteEngine On
RewriteCond %{HTTP_HOST} ^terapiadicoppiabrescia.it [NC]
RewriteRule ^(.*)$ http://www.terapiadicoppiabrescia.it/$1 [L,R=301]
RewriteCond %{HTTPS} !=on
RewriteRule ^.*$ https://%{SERVER_NAME}%{REQUEST_URI} [R,L]
Il problema è che ho una pagina che deve restare sempre in http e non fare il redirect in https mai
che posso fare?
grazie