Re: [users@httpd] Rejecting requests for unknown virtual hosts

2011-10-22 Thread Pete Houston
On Sat, Oct 22, 2011 at 12:52:05PM +0200, MegaBrutal wrote: > What I tried: > > # Include the virtual host configurations: > Include sites-enabled/ > > # Deny all unknown virtual host names > > ServerName * > DocumentRoot /var/www > > Order allow,deny > #Allow from g

[users@httpd] Rejecting requests for unknown virtual hosts

2011-10-22 Thread MegaBrutal
Hello all, What I'd like to do is to only enable requests for my exact virtual hosts, and deny all requests those either supply an unknown virtual host, or don't supply a virtual host at all (don't send any "Host:" header). It is my usual tactics I use on any of my servers. Primarily I do this to