Re: what do to with non-existent domains - ?

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

 



You would define a default vhost for that port that would handle those requests. In that vhost, you can either return a 403, a 302, or even a 418.

On Mon, 16 May 2022 at 09:04, lejeczek <peljasz@xxxxxxxxxxx.invalid> wrote:
Hi guys.

I've engine-searched this and turns out be an old "issue" but I failed
to find a solution which works.

When your apache gets a request (DNS says it should) for a domain which
your Apache is not configured to server then first alphabetically
domain/vhost/vname will respond - which in itself surprises me, the
rationale of it - I read people explain.

So the old "issue" is - naturally everybody' I'd imagine - how to have
those non-existent domains/vhosts, both HTTP & HTTPS, caught and dealt
with(ideally redirect them someplace) ?

all thoughts and suggestions share are much appreciated,

many thanks, L.


---------------------------------------------------------------------
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