Skip to content

Commit

Permalink
Update .htaccess
Browse files Browse the repository at this point in the history
  • Loading branch information
Ciframa authored Jun 28, 2024
1 parent 571bad4 commit 7c07b9e
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions Fitmo_backend/public/.htaccess
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
RewriteEngine On
RewriteCond %{HTTPS} !=on
RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]


<IfModule mod_rewrite.c>
<IfModule mod_negotiation.c>
Options -MultiViews -Indexes
</IfModule>

RewriteEngine On


# Handle Authorization Header
RewriteCond %{HTTP:Authorization} .
Expand All @@ -18,4 +20,5 @@
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^ index.php [L]
</IfModule>

</IfModule>

0 comments on commit 7c07b9e

Please sign in to comment.