add htaccess files
This commit is contained in:
parent
0d0dabdcad
commit
262903e3cd
2 changed files with 7 additions and 0 deletions
3
.htaccess
Normal file
3
.htaccess
Normal file
|
|
@ -0,0 +1,3 @@
|
||||||
|
RewriteEngine on
|
||||||
|
RewriteRule ^$ public/ [L]
|
||||||
|
RewriteRule (.*) public/$1 [L]
|
||||||
4
public/.htaccess
Normal file
4
public/.htaccess
Normal file
|
|
@ -0,0 +1,4 @@
|
||||||
|
RewriteEngine On
|
||||||
|
RewriteCond %{REQUEST_FILENAME} !-f
|
||||||
|
RewriteCond %{REQUEST_FILENAME} !-d
|
||||||
|
RewriteRule ^ index.php [QSA,L]
|
||||||
Loading…
Add table
Add a link
Reference in a new issue