Skip to content

Commit 84a9ff1

Browse files
htaccess file added
1 parent 8ca07f4 commit 84a9ff1

File tree

2 files changed

+18
-0
lines changed

2 files changed

+18
-0
lines changed

.htaccess

+18
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
<IfModule mod_rewrite.c>
2+
<IfModule mod_negotiation.c>
3+
Options -MultiViews
4+
</IfModule>
5+
6+
RewriteEngine On
7+
8+
RewriteCond %{REQUEST_FILENAME} -d [OR]
9+
RewriteCond %{REQUEST_FILENAME} -f
10+
RewriteRule ^ ^$1 [N]
11+
12+
RewriteCond %{REQUEST_URI} (\.\w+$) [NC]
13+
RewriteRule ^(.*)$ public/$1
14+
15+
RewriteCond %{REQUEST_FILENAME} !-d
16+
RewriteCond %{REQUEST_FILENAME} !-f
17+
RewriteRule ^ server.php
18+
</IfModule>
Loading

0 commit comments

Comments
 (0)