Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

Installing SilverStripe /

Getting SilverStripe up and running on your computer and on your web server.

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo, swaiba

<solved>Change the base_tag so that it does add index.php

Go to End

2 Posts   3331 Views


Community Member, 2 Posts

26 May 2009 at 9:49pm

Edited: 28/05/2009 12:52am

I have installed SS on an IIS server that does not have the URL rewrite enabled.
<br >
<br >The site seems to install and displays but the 'base_tag' contains which stops all of the links to the CSS working.
<br >
<br >When I go into 'admin' all I see is a blank screen with Loading... I think the index.php in the base_tag is causing the links to the scripts and CSS to break.
<br >
<br >Is there a way to change the base_tag so that it does add index.php to links?


Community Member, 2 Posts

28 May 2009 at 1:03am

After following different guides I got the hosting company to put ISAPI_Rewrite on my site. At first this didn't seem to help but I have finally got SS 2.3.1 working on IIS6.

This is what I did.

I uploaded a new version of SS 2.3.1.
Then went to

After entering the required database information and installer stops at the point where it checks for mod_rewrite

Next I opened .htaccess and replaced the code with the code for ISAPI_Rewrite

RewriteEngine On
RewriteBase /
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]

Now when I was able login and get to the CMS.

I didn't have to make any other changes to any files.

Thanks to this guide for it's help.