We help IT Professionals succeed at work.
Get Started

IIS ReWrite DLL Rule

Last Modified: 2012-04-23
Running Windows 2003 R2 Server with IIS.

I use a REWRITE.DLL to change the URL of the server on the fly.

As an example, the REQIRE.INI file contains the following:
RewriteEngine On

RewriteRule ^/members/(.*)/(.*) /download/download.cfm?area_word=$1&filename=$2 [L]

RewriteRule (.*)\/page\-(.*) $1\&page\=$2

RewriteRule ^/files/area\-(.*) /files/index.htm?area=$1 [L]
RewriteRule ^/pages/area\-(.*) /pages/page.cfm?area=$1 [L]
RewriteRule ^/biography/(.*) /biography/bio.htm?$1 [L]

I don't need to change any of those examples, only the one listed below. My point is to remove the question mark on my example below and make the URL look less like using CF. And before you ask, I know the site will still be indexed by search engines. I know what I want and need some help with writing this correctly. I've tried but have given up.

So, my question is, what exact usage would I enter in the ini file to change this URL:


to this URL:


Or any suggestion using the ReWrite.DLL remove the question mark ? and the equal = sign and maintaining a decent looking URL.
Watch Question
Top Expert 2004
This problem has been solved!
Unlock 1 Answer and 5 Comments.
See Answer
Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

  • Troubleshooting
  • Research
  • Professional Opinions
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE