Re: debugging <VirtualHosts>

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

 



Paul McFerrin wrote:
>   NameVirtualHost pmcferrin.homedns.org:80
> [[default virtual hosts definitons]]
> <VirtualHost    pmcferrin.homedns.org:80>
> 
> <VirtualHost genealogy.homedns.org:80>

The 'VirtualHost' should report the same thing that is in the
NameVirtualHost directive, if you've used 'pmcferrin...' you
should use the same in every VHost. If you are not interested in
binding the vhost with one specific IP, just use '*:80'

NameVirtualHost *:80

<VirtualHost *:80>
	ServerName ...
...
</VirtualHost>

<VirtualHost *:80>
	ServerName ...
</VirtualHost>

>       VirtualDocumentRoot /e/genealogy
>       ##DocumentRoot /e/genealogy

VirtualDocumentRoot is only used if you have mass-defined virtualhost,
that doesn't seems your case. Use DocumentRoot. And specify also other
directives for such directory, minimum the permissions:

DocumentRoot /wathever/
<Directory "/wathever">
	Options ...
	Order allow,deny
	Allow from all
	... other stuff?
</Directory>

Davide

-- 
Windows and DOS -- a turtle and it's shell.

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