Jump to:

4953 Posts in 16566 Topics by 1491 members

Installing SilverStripe

SilverStripe Forums » Installing SilverStripe » [Solved] IIS 7.5: Url Rewrite...

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

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

Page: 1
Go to End
Author Topic: 5056 Views
  • biapar
    Forum Moderator
    435 Posts

    [Solved] IIS 7.5: Url Rewrite... Link to this post


    I've installed SS into IIS 7.5 with FastCGI and PHP addons...but there are some problems with url rewrite.
    Url rewrite is ON. I've imported Apache mod_rewrite Rules from .htaccess to IIS7, but install wrote:

    Friendly URLs are not working. This is most likely because a rewrite module isn't configuredcorrectly on your site. Please check the following things in your Apache configuration; you may need to get your web host or server administrator to do this for you:

    * mod_rewrite is enabled
    * AllowOverride All is set for your directory

    So, if i go to /admin , I've Security/login?BackURL=%2Fss%2Fadmin

    Have you had this problem?


    1) Reimporting mod_rewrites rules
    2) Reinstall SS
    3) It goes....

    An now ... I made some tests for benchmarking on IIS...

  • Sean
    Forum Moderator
    921 Posts

    Re: [Solved] IIS 7.5: Url Rewrite... Link to this post

    Hi there,

    You don't need to import any rules, just have a web.config file sitting in your SilverStripe website folder. See here for more information.

    Note that the 2.4 installer will support installing directly from IIS, as it will write the friendly URL rules into web.config for you if IIS URL Rewrite is installed.


  • biapar
    Forum Moderator
    435 Posts

    Re: [Solved] IIS 7.5: Url Rewrite... Link to this post

    Uhm..but I see that my web.config was empty...

Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.