develop
Last change
on this file since 9c07cbf was 2fc88ec, checked in by beratkjufliju <kufliju@…>, 3 years ago |
initial commit
|
-
Property mode
set to
100644
|
File size:
603 bytes
|
Rev | Line | |
---|
[2fc88ec] | 1 | <IfModule mod_rewrite.c>
|
---|
| 2 | <IfModule mod_negotiation.c>
|
---|
| 3 | Options -MultiViews -Indexes
|
---|
| 4 | </IfModule>
|
---|
| 5 |
|
---|
| 6 | RewriteEngine On
|
---|
| 7 |
|
---|
| 8 | # Handle Authorization Header
|
---|
| 9 | RewriteCond %{HTTP:Authorization} .
|
---|
| 10 | RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
|
---|
| 11 |
|
---|
| 12 | # Redirect Trailing Slashes If Not A Folder...
|
---|
| 13 | RewriteCond %{REQUEST_FILENAME} !-d
|
---|
| 14 | RewriteCond %{REQUEST_URI} (.+)/$
|
---|
| 15 | RewriteRule ^ %1 [L,R=301]
|
---|
| 16 |
|
---|
| 17 | # Send Requests To Front Controller...
|
---|
| 18 | RewriteCond %{REQUEST_FILENAME} !-d
|
---|
| 19 | RewriteCond %{REQUEST_FILENAME} !-f
|
---|
| 20 | RewriteRule ^ index.php [L]
|
---|
| 21 | </IfModule>
|
---|
Note:
See
TracBrowser
for help on using the repository browser.