Closed

Help with .htaccess asap

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>

Skills: Nginx, PHP

See more: htaccess syntax, web htaccess, htaccess basics, how to understand htaccess, .htaccess description, .htaccess php, .htaccess example, what is an htaccess file, i need my teeth fix asap i dont have the money to get them done where can i get help i am a single morther, im trying to find a game programmer, hello im website designer, i need my absa bank lawyers to help me asap, help me with internet marketing asap, hello i am very interested in your project please consider my bid and send me the details related to your project i was paying l, excel pro help with a couple of pivot views and analysis asap

About the Employer:
( 0 reviews ) Sweden

Project ID: #16921202

11 freelancers are bidding on average kr145 for this job

articontech

A proposal has not yet been provided

kr224 SEK in 1 day
(92 Reviews)
5.9
kr132 SEK in 1 day
(96 Reviews)
6.2
kr72 SEK in 1 day
(33 Reviews)
4.6
manum11

i am expert in solving the issues off htaccess file and i can easily redirect your website from http to https using htaccess.

kr163 SEK in 1 day
(15 Reviews)
3.9
SORoshanSethia

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

kr102 SEK in 0 days
(8 Reviews)
3.3
webin24hrssl

Hi, I understand the gist of the issue and will be happy to fix the [login to view URL] initiate the PMB to discuss the details. Regards Vineet

kr163 SEK in 1 day
(7 Reviews)
3.6
onidnalbj

Hi. My name is Joel Jaime and I have experience working with Nginx and PHP-FPM as a web server, I can help you with your problem since I know more or less where the problem is. Contact me by chat and let's talk m More

kr192 SEK in 0 days
(2 Reviews)
2.2
AbrarAhmed99

I can do the task and I just need to know which Operating System are you running?

kr85 SEK in 1 day
(3 Reviews)
1.6
dawidpaszko

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!

kr132 SEK in 1 day
(0 Reviews)
0.0
kr232 SEK in 3 days
(0 Reviews)
0.0
ujjalkdas

A proposal has not yet been provided

kr102 SEK in 2 days
(0 Reviews)
0.0