On Tue, Apr 29, 2008 at 7:36 AM, Deepan <[EMAIL PROTECTED]> wrote: > However all requests to http://domainb.com/ gets > redirected to http://www.domaina.com whereas the > expected behaviour is to get redirected to > http://www.domainb.com/ .
The www.domainb.com virtualhost stanza doesn't apply to domainb.com, so it was probably served by the default virtualhost, which may itself have a redirect to www.domaina.com. Adding the serveralias lines that Shyam suggested should do the trick. Perhaps slightly more efficient would be to create a separate namevirtualhost for domaina.com/domainb.com to do the redirects, so that cpu cycles aren't constantly used in mod_rewrite checks within the www.domaina.com/www.domainb.com virtualhosts.
_______________________________________________ Slugnet mailing list [email protected] http://wiki.lugs.org.sg/LugsMailingListFaq http://www.lugs.org.sg/mailman/listinfo/slugnet
