Hello. Im trying to fix my htaccess.
I have a Laravel app that I first and foremost want to force all HTTP to HTTPS (I think I have done it correctly). Also, I want my url: [login to view URL] to point to the public folder, while still being [login to view URL] and not [login to view URL] The app is hosted on Heroku and I have a custom domain.
Here is my htaccess right now:
RewriteEngine on
RewriteCond %{HTTPS} off
RewriteCond %{HTTP:X-Forwarded-Proto} !https
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI}%/$1 [R=301,L]
<IfModule mod_headers.c>
<FilesMatch "\.(js|css|xml|gz|svg)$">
Header append Vary: Accept-Encoding
</FilesMatch>
</IfModule>
Hi,
we can configure the subdomain to public folder and also the forcing fo http to https can be done with few changes
I am available for the work right away.
Regards,
Roshan
Hej! Jag kan gärna hjälpa dig.
Jag jobbar som webbutvecklare heltid, oftast med servrar och laravel!
Ha en fin dag! /David
PS. Du kan även ringa mig om du vill!