Jump to:

4938 Posts in 16827 Topics by 1490 members

Installing SilverStripe

SilverStripe Forums » Installing SilverStripe » /admin/ and /home/ not working on IIS

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: 1716 Views
  • mwalsh
    Avatar
    Community Member
    21 Posts

    /admin/ and /home/ not working on IIS Link to this post

    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!

  • Sigurd
    Avatar
    Forum Moderator
    628 Posts

    Re: /admin/ and /home/ not working on IIS Link to this post

    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...

  • mwalsh
    Avatar
    Community Member
    21 Posts

    Re: /admin/ and /home/ not working on IIS Link to this post

    Thanks for your reply Sigurd.

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

  • seanr
    Avatar
    Community Member
    1 Post

    Re: /admin/ and /home/ not working on IIS Link to this 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.

  • mwalsh
    Avatar
    Community Member
    21 Posts

    Re: /admin/ and /home/ not working on IIS Link to this post

    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.

  • Sigurd
    Avatar
    Forum Moderator
    628 Posts

    Re: /admin/ and /home/ not working on IIS Link to this post

    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.

    1716 Views
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.