15 lines
392 B
ApacheConf
15 lines
392 B
ApacheConf
DirectoryIndex index.php
|
|
|
|
# enable apache rewrite engine
|
|
RewriteEngine on
|
|
|
|
# set your rewrite base
|
|
# Edit this in your init method too if you script lives in a subfolder
|
|
RewriteBase /
|
|
|
|
# Deliver the folder or file directly if it exists on the server
|
|
RewriteCond %{REQUEST_FILENAME} !-f
|
|
RewriteCond %{REQUEST_FILENAME} !-d
|
|
|
|
# Push every request to index.php
|
|
RewriteRule ^(.*)$ index.php [QSA] |