mirror of
https://github.com/KevinMidboe/zoff.git
synced 2025-10-29 18:00:23 +00:00
11 lines
267 B
Plaintext
Executable File
11 lines
267 B
Plaintext
Executable File
# Mod rewrite
|
|
RewriteEngine On
|
|
RewriteBase /
|
|
|
|
# Route all requests to index.php unless real file or folder
|
|
RewriteCond %{REQUEST_FILENAME} !-f
|
|
RewriteCond %{REQUEST_FILENAME} !-d
|
|
RewriteRule ^(.*)$ index.php?q=$1 [L,QSA]
|
|
|
|
# Disallow directory listing
|
|
Options -Indexes |