Skip to content

Commit a156629

Browse files
author
ipranjal
committed
chore: add .htaccess
1 parent 47fdb6a commit a156629

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

.env

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
APP_ENV = "prod"
1+
APP_ENV = "dev"
22

33
DB_HOST = "localhost"
44
DB_USER = ""

public/.htaccess

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
RewriteEngine on
2+
RewriteCond %{REQUEST_FILENAME} !-f
3+
RewriteCond %{REQUEST_FILENAME} !-d
4+
RewriteCond $1 !^(index\.php)
5+
RewriteRule ^(.*)$ /index.php/$1 [L]

0 commit comments

Comments
 (0)