I am having a problem with my virtual host config. Here's the basic config: <VirtualHost xx.xx.xx.xx:80> ServerName domainA Redirect permanent / https://domainA/ </VirtualHost> <VirtualHost xx.xx.xx.xx:443> ServerName domainA [normal host config stuff] </VirtualHost> <VirtualHost xx.xx.xx.xx:80> ServerName domainB Redirect permanent / https://domainB/ </VirtualHost> <VirtualHost xx.xx.xx.xx:443> ServerName domainB [normal host config stuff] </VirtualHost> Basically 2 domains where non-ssl requests get routed to the ssl port.The problem is that when I go to http://domainA it redirects (and changes the URL on the browser) to https://domainB. ; If I go straight to https://domainA it works correctly.
I figure either I have some config typo that I can't find or I'm totally misunderstanding how virtual host resolution works.
First question... should the config above do what I want (route non-ssl domainA to ssl domainA and route non-ssl domainB to ssl domainB)? Is this the correct way to do this?
Assuming the config as it stands 'should' work, is there any way I can view/trace the virtual hosting routing tables inside httpd and see why it is routing domainA to domainB?
Thanks. Jerry --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx