From 044b0f0f8093f51c70c01dfc5879ace95c4008cc Mon Sep 17 00:00:00 2001 From: sminnee Date: Wed, 13 Oct 2010 02:53:34 +0000 Subject: [PATCH] BUGFIX If mod_rewrite isn't enabled on Apache, a 500 server error won't be generated which prevents the installer from opening and telling you there's no rewrite support (from r98887) git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/trunk@112108 467b73ca-7a2a-4603-9d3b-597d59a354a9 --- .htaccess | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/.htaccess b/.htaccess index 6421293..5cbd1e8 100644 --- a/.htaccess +++ b/.htaccess @@ -10,9 +10,10 @@ Deny from all -RewriteEngine On - -RewriteCond %{REQUEST_URI} ^(.*)$ -RewriteCond %{REQUEST_FILENAME} !-f -RewriteRule .* sapphire/main.php?url=%1&%{QUERY_STRING} [L] -### SILVERSTRIPE END ### \ No newline at end of file + + RewriteEngine On + RewriteCond %{REQUEST_URI} ^(.*)$ + RewriteCond %{REQUEST_FILENAME} !-f + RewriteRule .* sapphire/main.php?url=%1&%{QUERY_STRING} [L] + +### SILVERSTRIPE END ###