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 a website running at The client now wants the website to appear to be running under

Since the website is umbraco it won't run under a subfolder.

I wanted to use ISAPI rewrite to proxy requests to using the following rule in a .htaccess at

RewriteRule ^(.*)$$1 [P,L]

However, when I apply this I get an ugly 500 Internal Server Error. There's nothing in the event log. So I turned on ISAPI logging and can see the following Tue, 12-Jan-2010  13:05:24 GMT [][rid#26337200/initial] (2) init rewrite engine with requested uri /whatson/brand/home.aspx

Then it testing all the other rewrite rules on the server.

Then this  Tue, 12-Jan-2010  13:05:24 GMT [][rid#26337200/initial] (1) Htaccess process request w:\websites\\docs2\whatson\brand\.htaccess  Tue, 12-Jan-2010  13:05:24 GMT [][rid#26337200/initial] (3) applying pattern '^(.*)$' to uri 'home.aspx'  Tue, 12-Jan-2010  13:05:24 GMT [][rid#26337200/initial] (2) forcing proxy-throughput with  Tue, 12-Jan-2010  13:05:24 GMT [][rid#26337200/initial] (1) go-ahead with proxy request [OK]  Tue, 12-Jan-2010  13:05:24 GMT [][rid#26337200/initial] (2) rewrite 'home.aspx' -> '/whatson/brand/home.aspxx.rwhlp?p=0'  Tue, 12-Jan-2010  13:05:24 GMT [][rid#26337200/initial] (2) internal redirect with /whatson/brand/home.aspxx.rwhlp?p=0 [INTERNAL REDIRECT]

So it appears to work according to the logs, but I'm not seeing the page come through..

It's worth noting that and are on the same box. LogLevel is 3 and RewriteLogLevel is 3 (I've tried with 9 and debug but there is too much traffic going through the other sites on the box)

Any ideas?

share|improve this question
up vote 1 down vote accepted

I've found this to be an issue with both the domains being on the same box.

The outgoing proxy request was unable to resolve to the local machine. Weird.

Added to the hosts file and it's working.

share|improve this answer

Your Answer


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

Not the answer you're looking for? Browse other questions tagged or ask your own question.