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're retiring the forums!

The SilverStripe forums have passed their heyday. They'll stick around, but will be read only. We'd encourage you to get involved in the community via the following channels instead:

Installing SilverStripe /

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

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

HELP!!! Rewrite on IIS 6


Go to End


3 Posts   1420 Views

Avatar
phongvo

Community Member, 2 Posts

22 November 2013 at 5:20am

Hi all,

I am running SS 3.1.2 on Windows Server 2003 (IIS6). I have IIRF installed, and SS works out of the box.
But have get message "Page not found" and I get the msg Not found when go /admin

I have added iirf.ini in folder web with the content

RewriteEngine On
MaxMatchCount 10
IterationLimit 5
# URLs with query strings
# Don't catch successful file references
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)\?(.+)$ /framework/main.php?url=$1&$2
# URLs without query strings
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ /framework/main.php?url=$1

Thanks in advance,

Attached Files
Avatar
Sean

Forum Moderator, 922 Posts

25 November 2013 at 10:03am

Edited: 25/11/2013 10:44am

I do remember someone having a similar problem, but I don't believe it was resolved.

I'd highly recommend upgrading to at least a newer version of Windows that has IIS 7, or using a different web server such as Apache. Windows 2003 and IIS 6 are extremely old.

Sean

Avatar
phongvo

Community Member, 2 Posts

25 November 2013 at 3:34pm

Thank you for your help,
I was resolved, I can't work on ASP.NET version 4.

Thanks,