From 62e933a189b9faa05e07a1c0803ae3008c8a87a9 Mon Sep 17 00:00:00 2001 From: Mzhelskiy Maxim Date: Tue, 3 Jul 2012 10:35:39 +0400 Subject: [PATCH] htaccess --- .htaccess | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.htaccess b/.htaccess index 8bca0499..2b5f7303 100644 --- a/.htaccess +++ b/.htaccess @@ -1,9 +1,12 @@ AddDefaultCharset UTF-8 Options -Indexes RewriteEngine On +#RewriteBase / RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)$ ./index.php +# Alternative rule +#RewriteRule ^(.*)$ /index.php order allow,deny