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 Outlook Web Access hosted on IIS Windows Server 2003 and the setup is weird from some other dude.

I have Apache listening on 8080

I want users to be able to type in something like: and get redirected the intranet at

So my thought was use Apache on the same machine as IIS and have my users type in and have mod_rewrite to

So I created a .htaccess that is:

Options +FollowSymLinks
RewriteEngine on
RewriteRule ^$ [R, NC]

I even tried: RewriteRule ^index.html$ [R, NC]

But that doesn't work, I try and hit and I just get a blank page.

Any traffic on I want re-directed to

What am i doing wrong. Sorry about not doing http // as I am a new user it told me no.

share|improve this question

You need use mod_proxy or flag P, redirect doesn't work

RewriteEngine on
RewriteRule ^owa/?(.*)$1 [L,P]
share|improve this answer

In your httpd.conf file, make sure that the line saying:

AllowOverride None

inside of the <Directory "<htdocs_dir>"> block is changed to:

AllowOverride FileInfo


AllowOverride All

This will allow mod_rewrite to function.

Docs, see "Override"

share|improve this answer
that gets me part of the way, now I think that my ReWrite rule is not correct as I get an Internal Server error and the log tells me a bad delimiter. Time to see how to do this – AMM Jul 14 '10 at 5:00

You running an internal DNS? Would be easier to set that address entry to the apache server instead.

share|improve this answer

Your Answer


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