Re: [users@httpd] Question regarding VirtualHosts
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
On 11/10/05, Joshua Slive wrote: Hmmm... Did you read the FAQ entry?
Anyway, to be extremely explicit, keep the exact config you already
have but add the following immediately BEFORE the existing
<VirtualHost> sections. This works because the first listed
name-based virtual host catches all non-matching hostnames.
<VirtualHost *:80>
ServerName ip.ip.ip.ip
<Location />
Order allow,deny
Deny from all
Satisfy all
</Location>
ErrorDocument 403 "There is no website here; go away."
</VirtualHost>
I actually did read it, but i didn't understand exactly how to do it. The example above works perfect.
Big thanks for helping me out!
/ Martin
[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]