I need to use a Windows Server for a project and this is the first time I've ever used Windows. My setup will use php and mySQL database. It appears that the system is Windows NT build 9200 (Windows Server 2012 Standard Edition) i586.
I've always used Linux servers in the past so for rewrites etc. I used a .htaccess file. But it appears I need to use a Web.config. So my questions are.
1. Where do you place the Web.config file...Is it in the httpdocs folder or somewhere else.
2. I need to convert the following .htaccss code into a Web.config file how do I do that?
Options FollowSymLinks
Options -MultiViews
RewriteEngine ON
RewriteCond %{HTTP_HOST} !^www\.website\.com
RewriteRule (.*) [
www.website.com] [R=301,L]
RewriteBase /
RewriteRule ^index\.html$ index.php [T=application/x-httpd-php,L]
RewriteRule ^event-([^/]+)\.html/?$ /event.php?eventID=$1 [L]
RewriteRule ^([^/]+)\.html/?$ /page.php?pageLinkName=$1 [L]
ErrorDocument 404 [
www.website.com]
Thanks in advance.