U
U
Urukhayy2015-06-07 10:35:32
System administration
Urukhayy, 2015-06-07 10:35:32

htaccess. How to "redirect" everything but one file?

How to "redirect" all pages of the site from HTTP to HTTPS except for one file, which should be left on HTTP?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Andrey Burov, 2015-06-07
@BuriK666

RewriteCond %{SERVER_PROTOCOL} !=HTTPS
RewriteCond %{REQUEST_FILENAME} !=filename
RewriteRule.... ваш редирект на https

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question