4579 Posts in 1388 Topics by 1378 members
|Go to End|
7 April 2010 at 12:16am Last edited: 7 April 2010 2:06am
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...
7 April 2010 at 10:26pm Last edited: 7 April 2010 10:33pm
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.
8 April 2010 at 8:55pm
Uhm..but I see that my web.config was empty...
|Go to Top|