httpd.conf
metallarch
metallarch at yandex.ru
Wed Nov 24 08:31:27 PST 2004
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?
More information about the freebsd-questions
mailing list