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.

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.

Archive /

Our old forums are still available as a read-only archive.

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

SilverStripe on IIS


Go to End


8 Posts   2696 Views

Avatar
chazzuka

Community Member, 2 Posts

14 April 2007 at 6:26pm

Hi am from Bali, Indonesia. does anyone has experiences about using silver stripe on IIS ? currently i'am using Wordpress running under IIS and PHP ISAPI with MySQL 5.0 and i want to move it to silver stripe.

Avatar
Tim

Community Member, 201 Posts

14 April 2007 at 7:40pm

We haven't tried this internally, however we are reasonably confident that it will not work out of the box. It would probably take an experienced person several days to get SilverStripe working reliable on IIS - and to date we haven't make this a priority.

If people think support for IIS should be made a priority, please let us know in this thread :-)

Avatar
chazzuka

Community Member, 2 Posts

26 April 2007 at 7:05pm

i think it is good if silverstripe can work in IIS maybe with some limitation eg: no rewrite, no GD etc cause there are still a lot of people using IIS,

currently im using apache2triad its help me a lot to have silverstripe running on my windows machine but still i wish someday silverstripe can work perfectly in IIS just like wordpress.

Avatar
studiophi

Community Member, 1 Post

12 May 2007 at 7:33am

I would like to see IIS support made a priority. IIS already works with PHP & MySQL. There shouldn't be much issue with allowing it to work on IIS as well.

Avatar
Sam

Administrator, 690 Posts

12 May 2007 at 8:37am

The main issue with IIS will probably be the rewriting rules.
In SilverStripe, we rewrite very URL to sapphire/main.php?url=(url)
Does anyone know how to do this kind of thing in IIS?

studiophi, chazzuka - if you've got experience in configuring IIS servers you could probably help us work through some of the issues.

Avatar
Markus

Google Summer of Code Hacker, 152 Posts

24 May 2007 at 12:22am

Edited: 24/05/2007 12:26am

That's not possible in IIS without addons.. but nowadays most of the search engines index also URLs with a "?" in it, so there should be a fallback-mechanism in SilverStripe.

I tried different things, but it's more complex than I initially thought because the controller has to sit in the root directory (otherwise all templates are broken because... inclusion of css and so on). But then we get errors with the ManifestBuilder.

I didn't looked in detail at the manifest builder yet, but I think it should be possible to fix it there. Then it would be possible to create a index.php that sets Director::setBaseURL('/index.php?url=') and it should work because we are in the right working directory.

I think this should be definitely a high priority feature for SilverStripe since approx. 30% of all servers on the net run on Microsoft servers(http://news.netcraft.com/archives/2007/04/02/april_2007_web_server_survey.html)

Maybe I will check this out later in summer, but in the near future I will focus on my main task - OpenID integration.

Avatar
fozbaca

1 Post

18 August 2007 at 3:18am

Has there been any progress on playing nicely with IIS?

Is there an option to run without URLRewrite?

And SilverStripe on IIS is definately a priority for me.

Avatar
Markus

Google Summer of Code Hacker, 152 Posts

18 August 2007 at 5:17am

As far as I know there hasn't been any progress on this. You can try IIS Rewrite or ISAPI_Rewrite to achieve this.
There is also a lite version of ISAPI_Rewrite available which is completely free.

I hope this helps you!