Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have urlrewrite installed.

We have a legacy base of computers that need to use a particular url (the important bits are in bold):


This app has the weird thing that it embeds the server name into the URL path. We are moving it to a new server, and need to change this URL. I have "old-server" aliased to the new-server IP, but I also need to rewrite that path to:


The rewrite rule I have is:

    <to type="redirect">%{context-path}/arsys/forms/new-server/RQC%3AServiceRequestConsole/RQC+User+View/</to>

But it seems to be croaking on the %3A (which is given explicitly in the shortcut in the legacy system.)

Does anyone have a suggestion on how to get this rule right?

share|improve this question
Try replacing %3A with its decoded character :. – mgorven Jun 25 '12 at 23:06
or escaping the % (so \%3A) - untested, no clue if it'll help. – EightBitTony Jun 25 '12 at 23:17
I did, that didn't seem to do it. – Fraser Orr Jun 25 '12 at 23:18

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.