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?
We've moved the forum!
Please use forum.silverstripe.org for any new questions
(announcement).
The forum archive will stick around, but will be read only.
You can also use our Slack channel
or StackOverflow to ask for help.
Check out our community overview for more options to contribute.
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.
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
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.
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