Alias or RedirectMatch in Apache
Hunter Heinlen
dracus at speakeasy.net
Tue May 8 18:54:16 EDT 2007
Greetings, all....
I have a RHEL server (say, server.somewhere.com) at work, with Apache on
it. It is a frontend for a wildcard subdomain (say,
*.server.somewhere.com), and Apache needs to redirect certain thins in
that subdomain (such as service.server.somewhere.com) to Tomcat on port
8080 (https://service.server.somewhere.com) but pass everything else to
a guest URL that does not use SSL (http://server.somewhere.com). I'm
trying to figure out the syntax for RedirectMatch or Alias, and can't
seem to get it to work. What I currently have is one of the following,
in a VirtHost block:
Alias service.server.somewhere.com https://service.server.somewhere.com
~or~
RedirectMatch service\.server\.somewhere\.com(.*)$
https://service.server.somewhere.com
Are there any Apache guru around that can give pointers to what I'm
missing? Please let me know, TIA, and I will owe you one.
Hunter
--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
More information about the Discuss
mailing list