Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 24 Nov 2004 16:35:02 +0000
From:      Dick Davies <rasputnik@hellooperator.net>
To:        FreeBSD Questions <freebsd-questions@freebsd.org>
Subject:   Re: httpd.conf
Message-ID:  <20041124163502.GK12945@lb.tenfour>
In-Reply-To: <41A4B753.000025.00186@camay.yandex.ru>
References:  <41A4B753.000025.00186@camay.yandex.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
* metallarch <metallarch@yandex.ru> [1131 16:31]:
>  
> I made a virtualhost on apache 2.0 ..  
> Here is my configs
> rc.conf:
> gateway_enable="yes"
> ifconfig_rl0="inet 192.168.0.249 netmask 255.255.255.0"
> ifconfig_rl0_alias0="inet 192.168.1.35 netmask 255.255.255.0"
> httpd.conf:
> Listen 80
> ServerName 192.168.0.249:80
> DocumentRoot /../../../ (e.t.c)
> NameVirtualHost 192.168.1.35:80
> <VirtualHost 192.168.1.35>
>  DocumentRoot /../../../
>  Servername 192.168.1.35 
> </VirtualHost> 
> 
> And after starting apache when i write
> links 192.168.1.35  it gives me error 403 Forbidden 
>  you don`t have permission to access  192.168.1.35:80

You don't have permission to show the contents of the docroot
and it won't show you an index because you haven't configured it.

-- 
Ugh, it's like there's a party in my mouth and everyone's throwing up. - Fry
Rasputin :: Jack of All Trades - Master of Nuns



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20041124163502.GK12945>