samedi 7 janvier 2017

Laravel 5.2 .htaccess not work

I want to remove my public folder from url and want to force http to https.

I am using this

RewriteEngine On
RewriteRule ^(.*)$ public/$1 [L]
RewriteCond %{HTTPS} off
RewriteRule ^(.*)$ https://{REQUEST_URI} [L,R=301] 

this code only works for remove public but not work for http to https



from Newest questions tagged laravel-5 - Stack Overflow http://ift.tt/2i17U9a
via IFTTT

Aucun commentaire:

Enregistrer un commentaire