On 5/18/07, Scott Wilcox <[EMAIL PROTECTED]> wrote:

 Is there a method to say:

 Requested URI:
 http://domain.com              Does nothing
 http://sub.domain.com       Redirects to http://domain.com


 It seems to me, if I used the Redirect Perm, it'd just loop around itself,
no?

http://wiki.apache.org/httpd/Recipes/CanonicalHostNames

The sub.domain.com virtual host goes first and catches all non-matched
names. The domain.com vhost goes last and does not contain a Redirect.

Joshua.

---------------------------------------------------------------------
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: [EMAIL PROTECTED]
  "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to