What
about this:
If the
URL does not start by /[Ee]xchange the user is redirected to /Exchange... I also
suggest that if the user requests the root path /, he gets redirected to
/Exchange
RewriteRule ^/$ /Exchange [R]
RewriteCond $1 !^/[Ee]xchange
RewriteRule (.*) /Exchange [R]
The above rules imply
that the only path accessible through the reverse proxy will be one prefixed
with /Exchange.
-ascs
From: Gary W. Smith [mailto:[EMAIL PROTECTED]
Sent: Friday, June 10, 2005 8:58 PM
To: users@httpd.apache.org
Subject: [EMAIL PROTECTED] Rewrite / reverse proxy question
Hello,
We are using reverse proxy an exchange server
behind the firewall. So far everything works fine but I wanted to put a
rewrite script in place in the event they users don't type /Exchange/ and do
something like /exchange (missing case and backslash). Can anyone
assist on creating the rewrite rule for this?
Thanks,
Gary Smith