2016-07-21 22:01:57 +08:00
|
|
|
RewriteEngine On
|
2016-07-24 14:14:37 +08:00
|
|
|
|
2016-07-21 22:01:57 +08:00
|
|
|
RewriteCond %{REQUEST_FILENAME} !-f
|
|
|
|
RewriteCond %{REQUEST_FILENAME} !-d
|
2016-07-24 14:14:37 +08:00
|
|
|
|
|
|
|
RewriteRule ^.*$ index.php [L]
|
2016-07-28 23:10:54 +08:00
|
|
|
|
|
|
|
# Protect .env file
|
|
|
|
<Files .env>
|
|
|
|
Order allow,deny
|
|
|
|
Deny from all
|
|
|
|
</Files>
|