[ale] redirect rule for RHEL5?
James Sumners
james.sumners at gmail.com
Tue Aug 3 10:11:58 EDT 2010
I don't think a simple rewrite rule is going to work. His web server
is listening on both interfaces, but he wants requests to the external
interface to always go to "example.com/orders" when the request is
actually for "example.com/".
One way to do this would to use virtual hosts. Have "example.com" on
port 80 and "example.com/orders" on port 81. That would let you use a
firewall rule to route external traffic to the correct application
(port 81) without having to specify a different port. Only trouble is
your internal users would have to specify port 81 if they wanted to
hit the "/orders" page.
On Tue, Aug 3, 2010 at 9:53 AM, Chuck Payne <terrorpup at gmail.com> wrote:
> Do a search on Rewrite URI, that is the direct you need to go in. I
> don't have my notes with me. But take a look at that, it should be
> what you need, the other thing you could does create alias for orders
> have it pointing to the directory CubeCart stuff, to me that ould be
> easier that rewrite rule.
--
James Sumners
http://james.roomfullofmirrors.com/
"All governments suffer a recurring problem: Power attracts
pathological personalities. It is not that power corrupts but that it
is magnetic to the corruptible. Such people have a tendency to become
drunk on violence, a condition to which they are quickly addicted."
Missionaria Protectiva, Text QIV (decto)
CH:D 59
More information about the Ale
mailing list