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 http://www.mysite.com/index.php 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?
We've moved the forum!
Please use forum.silverstripe.org for any new questions
(announcement).
The forum archive will stick around, but will be read only.
You can also use our Slack channel
or StackOverflow to ask for help.
Check out our community overview for more options to contribute.
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 www.mysite.com/install.php
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
### SILVERSTRIPE START ###
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]
### SILVERSTRIPE END ###
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.
http://cubiksoundz.blogspot.com/2008/12/tech-note-installing-silverstripe-cms.html