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

Re: apache2 not picking default



On Fri, Jan 19, 2007 at 01:22:35PM +0100, Pim Bliek wrote:
> Hi
> 
> WHY doesn't Apache take the first one? 00default that is. Doesn't it
> work alphabetically?
> 
It depends.

> What point am I missing here?
> 
> BTW, the default is the debian standard one with some alterations but
> boils down like this:
> 
> NameVirtualHost <myip>:80
> NameVirtualHost <myip>:443
> 
> <VirtualHost <myip>:80>
>        ServerAdmin webmaster@localhost
> 
>        DocumentRoot /var/www/
>        <Directory />
>                Options FollowSymLinks
>                AllowOverride None
>        </Directory>
>        <Directory /var/www/>
>                Options FollowSymLinks MultiViews
>                AllowOverride None
>                Order allow,deny
>                allow from all
>        </Directory>
> 
> etc etc
> 
> Any clues?
> 
Well, what is your *actual* config (i.e., without obfuscation) and what
do the DNS entries (output of host or dig) for the various hosts you are
trying to access.

Regards,

-Roberto

-- 
Roberto C. Sanchez
http://people.connexer.com/~roberto
http://www.connexer.com

Attachment: signature.asc
Description: Digital signature


Reply to: