diff --git a/.htaccess b/.htaccess index d0dfc7d..6421293 100644 --- a/.htaccess +++ b/.htaccess @@ -12,8 +12,6 @@ RewriteEngine On -RewriteCond %{REQUEST_URI} !(\.gif$)|(\.jpg$)|(\.png$)|(\.css$)|(\.js$) - RewriteCond %{REQUEST_URI} ^(.*)$ RewriteCond %{REQUEST_FILENAME} !-f RewriteRule .* sapphire/main.php?url=%1&%{QUERY_STRING} [L] diff --git a/install.php b/install.php index eba8996..aea36da 100644 --- a/install.php +++ b/install.php @@ -956,7 +956,6 @@ Allow from 127.0.0.1 RewriteEngine On $baseClause -RewriteCond %{REQUEST_URI} !(\.gif$)|(\.jpg$)|(\.png$)|(\.css$)|(\.js$) RewriteCond %{REQUEST_URI} ^(.*)$ RewriteCond %{REQUEST_FILENAME} !-f diff --git a/rewritetest.php b/rewritetest.php index 4202d9f..06f1232 100644 --- a/rewritetest.php +++ b/rewritetest.php @@ -81,8 +81,6 @@ function createHtaccess() { RewriteEngine On RewriteBase $base -RewriteCond %{REQUEST_URI} !(\.gif$)|(\.jpg$)|(\.png$)|(\.css$)|(\.js$) - RewriteCond %{REQUEST_URI} ^(.*)$ RewriteCond %{REQUEST_FILENAME} !-f RewriteRule .* sapphire/main.php?url=%1&%{QUERY_STRING} [L] @@ -114,8 +112,6 @@ function createHtaccessAlternative() { RewriteEngine On RewriteBase $base -RewriteCond %{REQUEST_URI} !(\.gif$)|(\.jpg$)|(\.png$)|(\.css$)|(\.js$) - RewriteCond %{REQUEST_URI} ^(.*)$ RewriteCond %{REQUEST_FILENAME} !-f RewriteRule .* $_SERVER[DOCUMENT_ROOT]/sapphire/main.php?url=%1&%{QUERY_STRING} [L]