mirror of
https://github.com/KevinMidboe/zoff.git
synced 2025-10-29 18:00:23 +00:00
Removed .htaccess
This commit is contained in:
19
.htaccess
19
.htaccess
@@ -1,20 +1,11 @@
|
|||||||
<<<<<<< HEAD
|
|
||||||
Options +FollowSymLinks
|
|
||||||
RewriteEngine on
|
|
||||||
RewriteBase /
|
|
||||||
RewriteCond %{HTTP_HOST} ^www\.(.*)$ [NC]
|
|
||||||
RewriteRule ^(.*)$ http://%1/$1 [R=301,L]
|
|
||||||
|
|
||||||
RewriteCond %{REQUEST_URI} !(/$|\.)
|
|
||||||
RewriteRule (.*) %{REQUEST_URI}/ [R=301,L]
|
|
||||||
|
|
||||||
=======
|
|
||||||
# Mod rewrite
|
# Mod rewrite
|
||||||
RewriteEngine On
|
RewriteEngine On
|
||||||
RewriteBase /Zoff
|
RewriteBase /
|
||||||
|
|
||||||
# Route all requests to index.php unless real file or folder
|
# Route all requests to index.php unless real file or folder
|
||||||
>>>>>>> Some changes
|
|
||||||
RewriteCond %{REQUEST_FILENAME} !-f
|
RewriteCond %{REQUEST_FILENAME} !-f
|
||||||
RewriteCond %{REQUEST_FILENAME} !-d
|
RewriteCond %{REQUEST_FILENAME} !-d
|
||||||
RewriteRule /(.*)$ /$1 [L]
|
RewriteRule ^(.*)$ index.php?q=$1 [L,QSA]
|
||||||
|
|
||||||
|
# Disallow directory listing
|
||||||
|
Options -Indexes
|
||||||
Reference in New Issue
Block a user