Re: Global Vhost/Redirect

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

 



In your catchall vhost (first one), just have a:

Redirect permanent / http://main.uri.com

--Victor


On 5/18/07, Scott Wilcox <sc0tt@xxxxxxx> wrote:
hey folks.

I have various virtual hosts set up on apache, and currently, the first
<VirtualHost> handles all unreferenced domains. I'm looking at
implementing something to catch any unreferenced domains and actually
shoot a rewrite at them to point them to my actual main URI.

Is this possible, and what would be the best/most efficient way to do it?

Thanks in advance,

Scott.

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx




--
http://www.victortrac.com
[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux