From a54d6a0f207908adc38ca1efb9593ce3f836d03e Mon Sep 17 00:00:00 2001 From: OptimusCrime Date: Thu, 16 Oct 2014 19:21:42 +0200 Subject: [PATCH] Removed .htaccess --- .htaccess | 19 +++++-------------- 1 file changed, 5 insertions(+), 14 deletions(-) diff --git a/.htaccess b/.htaccess index 7c5d88f8..4d53c4aa 100755 --- a/.htaccess +++ b/.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 RewriteEngine On -RewriteBase /Zoff +RewriteBase / # Route all requests to index.php unless real file or folder ->>>>>>> Some changes RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d -RewriteRule /(.*)$ /$1 [L] +RewriteRule ^(.*)$ index.php?q=$1 [L,QSA] + +# Disallow directory listing +Options -Indexes \ No newline at end of file