From 6a84acde78bae6616e2309b0e1f9776d6ef6773f Mon Sep 17 00:00:00 2001 From: wert2all Date: Fri, 23 Sep 2016 22:34:54 +0300 Subject: [PATCH] Fixed apache 2.4 .htaccess --- .htaccess | 59 +++++++++++++++++++++++++++++-------------------------- 1 file changed, 31 insertions(+), 28 deletions(-) diff --git a/.htaccess b/.htaccess index 9cd879676..0097b186e 100755 --- a/.htaccess +++ b/.htaccess @@ -2,35 +2,38 @@ AddDefaultCharset UTF-8 DirectoryIndex index.html index.htm index.php default.html -RewriteEngine on -RewriteBase / - -ReWriteCond %{REQUEST_URI} pda$ -RewriteRule .* /popup/pda.html [R,L] - -RewriteCond %{REQUEST_FILENAME} !-f -RewriteCond %{REQUEST_FILENAME} !-d -ReWriteCond %{REQUEST_URI} \.html$ -ReWriteCond %{REQUEST_URI} !index\.html$ -ReWriteCond %{REQUEST_URI} !fckeditor -ReWriteCond %{REQUEST_URI} !banner\.html$ -ReWriteCond %{REQUEST_URI} !flashcoms -ReWriteCond %{REQUEST_URI} !google -RewriteRule .* /nf.php - -RewriteCond %{REQUEST_FILENAME} !-f -RewriteCond %{REQUEST_FILENAME} !-d -ReWriteCond %{REQUEST_URI} \.xml$ -ReWriteCond %{REQUEST_URI} !fck -ReWriteCond %{REQUEST_URI} !flashcoms -RewriteRule .* /nf.php + RewriteEngine on + RewriteBase / + + ReWriteCond %{REQUEST_URI} pda$ + RewriteRule .* /popup/pda.html [R,L] + + RewriteCond %{REQUEST_FILENAME} !-f + RewriteCond %{REQUEST_FILENAME} !-d + ReWriteCond %{REQUEST_URI} \.html$ + ReWriteCond %{REQUEST_URI} !index\.html$ + ReWriteCond %{REQUEST_URI} !fckeditor + ReWriteCond %{REQUEST_URI} !banner\.html$ + ReWriteCond %{REQUEST_URI} !flashcoms + ReWriteCond %{REQUEST_URI} !google + RewriteRule .* /nf.php + + RewriteCond %{REQUEST_FILENAME} !-f + RewriteCond %{REQUEST_FILENAME} !-d + ReWriteCond %{REQUEST_URI} \.xml$ + ReWriteCond %{REQUEST_URI} !fck + ReWriteCond %{REQUEST_URI} !flashcoms + RewriteRule .* /nf.php - -deny from all - + - -deny from all - \ No newline at end of file + + deny from all + + + + deny from all + +