Re: Redirect Applies to All Virtual Hosts

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, Jan 22, 2017 at 7:21 PM, Jerry Malcolm <techstuff@xxxxxxxxxxxx> 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@xxxxxxxxx

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx




[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux