This repository has been archived by the owner on Oct 8, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
8015d3f
commit af9a899
Showing
1 changed file
with
33 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
Options +FollowSymLinks | ||
|
||
IndexIgnore */* | ||
|
||
RewriteEngine on | ||
|
||
|
||
|
||
#Uncomment "RewriteBase /" when you upload this .htaccess to your web server, and comment it when on local web server | ||
|
||
#NOTE: | ||
|
||
#If your application is in a folder, for example "application". Then, changing the "application" folder name, will require you to reset the RewriteBase /[your app folder] | ||
|
||
#RewriteBase /[your app folder - optional] | ||
|
||
|
||
|
||
# if a directory or a file exists, use it directly | ||
|
||
RewriteCond %{REQUEST_FILENAME} -s [OR] | ||
|
||
RewriteCond %{REQUEST_FILENAME} -l [OR] | ||
|
||
RewriteCond %{REQUEST_FILENAME} -d | ||
|
||
|
||
|
||
# otherwise forward it to index.php | ||
|
||
RewriteRule ^.*$ - [NC,L] | ||
|
||
RewriteRule ^.*$ index.php [NC,L] |