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

IIS 7.5 Can't tell which server your using


Reply

5 Posts   2808 Views

Avatar
REC

13 September 2009 at 5:57am Community Member, 4 Posts

I'm installing SilverStripe on IIS 7.5. I used your great instructions for installing on IIS, but.. On the install.php page I get a notice, under File Permissions, which says "The webserver user needs to be able to write to this file:
C:\inetpub\wwwroot\SilverStripe\.htaccess". Under Server Configuration I get two notices. One says "I can't tell what webserver you are running. Without Apache I can't tell if mod_rewrite is enabled." The other says "I can't tell whether mod_rewrite is running. You may need to configure a rewriting rule yourself." I don't think it can identify that I'm using IIS v. 7.5. What do I do?

Avatar
Willr

13 September 2009 at 9:53am Forum Moderator, 5511 Posts

Make sure you can write the .htaccess file as thats what the first error is reporting. If you cannot see the file turn hidden files and folders on and then try and set the write permissions.

With the other warnings - can you force the install (by clicking install). Installing could work fine it could just be the install script being a bit too zealous.

Avatar
REC

13 September 2009 at 10:30am Community Member, 4 Posts

Thanks for your quick reply.

The installation instructions at http://doc.silverstripe.com/doku.php?id=installation-on-windows-manual-iis said to delete "Delete the .htaccess file - it’s only for Apache." So, I did.

Also, I don't see an install button to click on.

REC

Avatar
REC

13 September 2009 at 4:04pm Community Member, 4 Posts

I think I have it installed correctly now.
I restored the .htaccess file and reopened install.php. I still had the "I can't tell what webserver your using" notice but the install button was there so I took your advice and clicked on it. It installed. I'll try it out and see if everything works.
Thanks so much for your help.
You may want to have someone check the isntallation instructions I was following.
Thanks again.

Avatar
Sean

14 September 2009 at 11:33pm (Last edited: 14 September 2009 11:36pm), Forum Moderator, 921 Posts

Just tried installing SilverStripe 2.3 using IIS 7.5 on Windows 7 x64. Same problem - the .htaccess file has permission problems in the installer if you remove it.

I'll amend the instructions to not remove this file, leaving it there won't stop the site from working in IIS.

Sean