Forum Moderators: phranque

Message Too Old, No Replies

redirect external and internal clients to internal host

         

bma4573

7:26 pm on Apr 25, 2005 (gmt 0)



I have a screwy situation that I think mod_rewrite can help me with, but I just don't know how to write regular expressions. I have an externally accessible site that has link to a password change page. I need to redirect all requests to that page to an internal web server that actually houses the page and password info. This internal web server does not have an FQDN that's recognized outside my firewall/network. I've gotten it to work either internally or externally with RedirectMatch and played with mod_rewrite some, but I can't seem to get it to work. If anyone can help it would be greatly appreciated.

Brian

jdMorgan

8:05 pm on Apr 25, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Brian,

Welcome to WebmasterWorld!

See Apache mod_proxy [httpd.apache.org]. You can set up the "public" server as a proxy for the "inside" server, qualifying requests for only those pages you want proxied to the inside machine.

> I just don't know how to write regular expressions

There's a link to a concise tutorial in our forum charter [webmasterworld.com]... Never a better time to learn than now!

Jim