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

angular - Ionic slides - dynamically add slides before and after -

minify - Minimizing css files -

Add a dynamic header in angular 2 http provider -