httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jerry Malcolm <>
Subject [users@httpd] Redirect Applies to All Virtual Hosts
Date Mon, 23 Jan 2017 00:21:17 GMT
I'm trying to do a simple redirect of to I am using the WAMP package 

In the httpd.conf  for the domain in question, I added:

       <VirtualHost *:80>
           Redirect permanent /

I host about 10 unrelated domains on this same httpd.  With that block 
above, now every domain I host gets redirected to 
I wouldn't say I'm a blackbelt in virtual host config.  But I've been 
doing it for years.  And from what I understand, the redirect in the 
block above should ONLY apply if the request is 
received and definitely NOT if an request is received.  But 
obviously I'm missing something.  Why does this redirect apply globally 
to all domains? And more importantly, what do I change to get apache to 
only redirect this one url to https://?


View raw message