Skip to content

Commit

Permalink
minor: Apache Web server configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
osmianski committed Dec 23, 2021
1 parent b3c49bf commit c6a7292
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions public/Osm_App/.htaccess
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
<IfModule mod_rewrite.c>
<IfModule mod_negotiation.c>
Options -MultiViews -Indexes
</IfModule>

RewriteEngine On

# Handle Authorization Header
RewriteCond %{HTTP:Authorization} .
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]

# Send Requests To Front Controller...
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^ index.php [L]
</IfModule>

0 comments on commit c6a7292

Please sign in to comment.