diff --git a/.htaccess b/.htaccess index 4295431..ac3d246 100644 --- a/.htaccess +++ b/.htaccess @@ -1,15 +1,16 @@ ### SILVERSTRIPE START ### - -Order deny,allow -Deny from all -Allow from 127.0.0.1 - - -RewriteEngine On - -RewriteCond %{REQUEST_URI} !(\.gif$)|(\.jpg$)|(\.png$)|(\.css$)|(\.js$) - -RewriteCond %{REQUEST_URI} ^(.*)$ -RewriteCond %{REQUEST_FILENAME} !-f + +Order deny,allow +Deny from all +Allow from 127.0.0.1 + + +RewriteEngine On +RewriteBase /phpinstaller-trunk + +RewriteCond %{REQUEST_URI} !(\.gif$)|(\.jpg$)|(\.png$)|(\.css$)|(\.js$) + +RewriteCond %{REQUEST_URI} ^(.*)$ +RewriteCond %{REQUEST_FILENAME} !-f RewriteRule .* sapphire/main.php?url=%1&%{QUERY_STRING} [L] ### SILVERSTRIPE END ### \ No newline at end of file diff --git a/mysite/_config.php b/mysite/_config.php index ba9066a..e7e2548 100644 --- a/mysite/_config.php +++ b/mysite/_config.php @@ -1,18 +1,19 @@ - \ No newline at end of file