I am using 1&1 hosting (USA).
I am using this .htaccess file to fix the php for php5, and the mod_rewrite.
Options -MultiViews
AddType x-mapp-php5 .php
AddHandler x-mapp-php5 .php
### SILVERSTRIPE START ###
RewriteEngine On
RewriteBase /SS_test/silverstripe-v2.2.2
RewriteCond %{REQUEST_URI} !(\.gif)|(\.jpg)|(\.png)|(\.css)|(\.js)|(\.php)$
RewriteCond %{REQUEST_URI} ^(.*)$
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule .* sapphire/main.php?url=%1&%{QUERY_STRING} [L]
### SILVERSTRIPE END ###
The problem I have now, is that non of the navigation links work.
First, I have to have this to even see the home page:
mywebsite.com/SS_test/silverstripe-v2.2.2/?flush=1
Then, If I click on any of the links, such as About us (mywebsite.com/SS_test/silverstripe-v2.2.2/about_us/)
I get a 404 error, even though the page clearly exists since it is still on the default install.
Another thing, when I click the home link (it links to mywebsite.com/SS_test/silverstripe-v2.2.2/home/), I am taken to
mywebsite.com/SS_test/silverstripe-v2.2.2/check-php.php
Has anyone ever seen something like this? My guess is its a problem with my .htaccess file.