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.

Installing SilverStripe

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

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

/admin/ and /home/ not working on IIS


Reply

6 Posts   1725 Views

Avatar
mwalsh

30 January 2009 at 12:36pm Community Member, 21 Posts

Hi,

I can't get /home/ and /admin/ to work on IIS6. I have the /about-us/ and /contact-us/ pages working fine.

For /home/ I receive "Directory Listing Denied" and /admin/ I get a 404.

These are the rules I'm using with ISAPI Rewrite 3:

### 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} [QSA,L]
### SILVERSTRIPE END ###

Any help will be gratefully received!

Avatar
Sigurd

30 January 2009 at 4:26pm Forum Moderator, 628 Posts

So presumeably that means all URLs are not working. I'm afraid the core SS team is not familiar with ISAPI Rewrite 3 and only has IIS 7 and its own URL Rewrite technology...

Avatar
mwalsh

30 January 2009 at 8:25pm Community Member, 21 Posts

Thanks for your reply Sigurd.

No, I have the /about-us/ and /contact-us/ pages working fine.

Avatar
seanr

2 March 2009 at 9:01am Community Member, 1 Post

I'm experiencing the same problem. I don't think it's with SilverStripe, I think it's with IIS.. /admin/ is probably a folder IIS blocks automagically. If I figure it out I'll try and post back here again. ...adios.

Avatar
mwalsh

2 March 2009 at 10:04pm Community Member, 21 Posts

I doubt very much it's an issue with IIS, it's an issue with SilverStripe. I had to bite the bullet and switch to Apache.

Avatar
Sigurd

3 March 2009 at 6:52am Forum Moderator, 628 Posts

seanr, are you using IIS 6 or 7 (and therefore which URL rewriting system).

SilverStripe has been tested to work with IIS7 and its own URL Rewrite technology; older/different systems are not something we've had access to, to try and get working.