Boston Linux & Unix (BLU) Home | Calendar | Mail Lists | List Archives | Desktop SIG | Hardware Hacking SIG
Wiki | Flickr | PicasaWeb | Video | Maps & Directions | Installfests | Keysignings
Linux Cafe | Meeting Notes | Blog | Linux Links | Bling | About BLU

BLU Discuss list archive


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Alias or RedirectMatch in Apache



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.





BLU is a member of BostonUserGroups
BLU is a member of BostonUserGroups
We also thank MIT for the use of their facilities.

Valid HTML 4.01! Valid CSS!



Boston Linux & Unix / webmaster@blu.org