httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Eric Covener <cove...@gmail.com>
Subject Re: [users@httpd] Redirect Applies to All Virtual Hosts
Date Mon, 23 Jan 2017 00:29:17 GMT
apachectl -S summarizes pretty nicely.

On Sun, Jan 22, 2017 at 7:27 PM, Eric Covener <covener@gmail.com> wrote:
> On Sun, Jan 22, 2017 at 7:21 PM, Jerry Malcolm <techstuff@malcolms.com> wrote:
>> And from what I understand, the redirect in the block above should ONLY
>> apply if the http://www.mydomain.com request is received and definitely NOT
>> if an http:XYZ.com 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://?
>
> I assume this virtual host happens to be the first one for *:80, which
> makes it the catch-all default.
>
> You could create a new one before this to act as the catch-all.
>
>
> --
> Eric Covener
> covener@gmail.com



-- 
Eric Covener
covener@gmail.com

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message