.htaccess - https htaccess exclude only one folder from redirecting to https -


i activated https on site , added .htaccess

rewriteengine on rewritecond %{https} off rewritecond %{http_host} !^www\.(.*)$ [nc] rewriterule (.*) https://%{http_host}%{request_uri} [r=302,l]  rewritecond %{https} on rewritecond %{http_host} !^www\.(.*)$ [nc] rewriterule (.*) https://www.%{http_host}%{request_uri} [r=302,l]  rewritecond %{https} off rewriterule (.*) https://%{http_host}%{request_uri} [r=302,l] 

it's ok, want add exception single folder not redirected https. folder "public_html/files"


Comments

Popular posts from this blog

matlab - "Contour not rendered for non-finite ZData" -

delphi - Indy UDP Read Contents of Adata -

javascript - Any ideas when Firefox is likely to implement lengthAdjust and textLength? -