B
B
Bzz2012-01-26 22:53:26
IIS
Bzz, 2012-01-26 22:53:26

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

2 answer(s)
O
Oleg Matrozov, 2012-01-27
@Bzz

Will it fit?
learn.iis.net/page.aspx/470/importing-apache-modrewrite-rules/

N
Naps, 2012-01-26
@Naps

If you need mod-rewrite, then
www.micronovae.com/ModRewrite/

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question