httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From JBT <>
Subject [users@httpd] Redirect HOSTname to https virtual host
Date Mon, 10 Jan 2005 21:45:59 GMT
Hi, I'm running Apache 2 on this FC3 server.

Having virtual default host listening to and
dns for http://* rewrites to ""
this goes to one port 80 document root, all fine and dandy.

then, I'm having a virtual host for SSL, which is

and I have
Redirect /mail
working fine for this, so that when people go to
they end up with the
virtual host doc. root

But now I want to have
(so JUST the "mail" host on port 80 traffic for the domain)
to ALSO redirect/rewrite to

How do I (best) accomplish that?
I've tried some things, like creating another virtual host container
just for this one rewrite, but this is kind of over the top, I'd say. is also the default host in this case,
and there are more domains running on the server.


The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message