.htaccess WINDOWS SERVER

2

I have a PHP project with the following .htaccess

RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php?PATH_INFO=$1 [L,QSA]

But now I want to mount my project on a server Windows Server I have read about web.config files but I understand that it is for ASP applications. You can help me to make my site work on Windows Server

    
asked by Jhonatan Garcia 01.08.2016 в 17:46
source

1 answer

1

In the IIS administrator you create a site, then you select it and look for REWRITE URL , and in the right panel you select Import Rule copies in the text field your htaccess code and automatically generates the rule for your site, you apply and Ready.

I leave the Post with the solution.

link

    
answered by 01.08.2016 / 21:53
source