Answer the question
In order to leave comments, you need to log in
Convert .htaccess to web.config (IIS)
I came across IIS and due to lack of knowledge and advice from Google to install mod_rewrite Rules (which don't fit) I'm struggling with how to convert my .htaccess to IIS's web.config.
Here is my .htaccess
RewriteEngine on
# if a directory or a file exists, use it directly
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
# otherwise forward it to index.php
RewriteRule . index.php
Answer the question
In order to leave comments, you need to log in
Will it fit?
learn.iis.net/page.aspx/470/importing-apache-modrewrite-rules/
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question