Re: Re: Named virtual host dot local [.local] tld

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

 



> Is it actually a stone cold fact that Apache can't cope with .local as I
> don't see any documentation explaining it?

Works just fine for me, doubt it's a bug in your version:

NameVirtualHost *:80
<VirtualHost *:80>
ServerName localhost
ErrorDocument 404 "this is localhost"
</VirtualHost>
<VirtualHost *:80>
ServerName foo.local
ErrorDocument 404 "this is foo.local"
</VirtualHost>


$ PS1=""

GET http://localhost/xxx
this is localhost

GET http://foo.local/xxx
this is foo.local

GET http://127.0.0.1/xxx
this is localhost

GET http://127.0.0.2/xxx
this is localhost

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-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