Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 24 Nov 2004 19:31:15 +0300 (MSK)
From:      "metallarch" <metallarch@yandex.ru>
To:        questions@freebsd.org
Subject:   httpd.conf
Message-ID:  <41A4B753.000025.00186@camay.yandex.ru>

next in thread | raw e-mail | index | archive | help
 
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
What i`m i doing wrong?



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