apache - HTTPS redirect issue -


i need force request https rather http.

for have added following code in .htaccess can seen below:

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

this url forced https: http://localhost/test

but url not forced https: http://localhost/test/public/assets/css/custom.css


Comments

Popular posts from this blog

javascript - WinJS appendTextAsync producing scheduler errors -

minify - Minimizing css files -

Sockets with kotlin -