Initial commit
This commit is contained in:
14
example.htaccess
Normal file
14
example.htaccess
Normal file
@@ -0,0 +1,14 @@
|
||||
RewriteEngine On
|
||||
|
||||
#RewriteBase /mse_api/
|
||||
|
||||
# 1. Prevent directory browsing
|
||||
Options -Indexes
|
||||
|
||||
# 2. If the request is NOT a real directory...
|
||||
RewriteCond %{REQUEST_FILENAME} !-d
|
||||
# 3. ...and is NOT a real file...
|
||||
RewriteCond %{REQUEST_FILENAME} !-d
|
||||
RewriteCond %{REQUEST_FILENAME} !-f
|
||||
# 4. ...send the request to index.php
|
||||
RewriteRule ^ public/index.php [L]
|
||||
Reference in New Issue
Block a user