-
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
Showing
3 changed files
with
29 additions
and
12 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 |
---|---|---|
@@ -1,14 +1,3 @@ | ||
log/* | ||
cache/* | ||
app/src/models | ||
|
||
.vim/* | ||
.composer/* | ||
.cache/* | ||
.viminfo | ||
.mysql_history.TMP- | ||
.mysql_history | ||
.htaccess | ||
.DS_Store | ||
.Xauthority | ||
.bash_history | ||
app/src/models |
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,16 @@ | ||
# For production, put your rewrite rules directly into your VirtualHost | ||
# directive and turn off AllowOverride. | ||
|
||
<IfModule mod_rewrite.c> | ||
RewriteEngine On | ||
|
||
RewriteCond %{REQUEST_FILENAME} -s [OR] | ||
RewriteCond %{REQUEST_FILENAME} -l [OR] | ||
RewriteCond %{REQUEST_FILENAME} -d | ||
RewriteRule ^.*$ - [NC,L] | ||
|
||
|
||
RewriteCond %{REQUEST_URI}::$1 ^(/.+)(.+)::\2$ | ||
RewriteRule ^(.*) - [E=BASE:%1] | ||
RewriteRule ^(.*)$ %{ENV:BASE}index.php [NC,L] | ||
</IfModule> |
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,12 @@ | ||
# Note: see https://httpd.apache.org/docs/current/howto/htaccess.html: | ||
# | ||
# "You should avoid using .htaccess files completely if you have access to | ||
# httpd main server config file. Using .htaccess files slows down your Apache | ||
# http server. Any directive that you can include in a .htaccess file is | ||
# better set in a Directory block, as it will have the same effect with | ||
# better performance." | ||
|
||
RewriteEngine On | ||
RewriteCond %{REQUEST_FILENAME} !-f | ||
RewriteCond %{REQUEST_FILENAME} !-d | ||
RewriteRule ^ index.php [QSA,L] |