httpd.conf
Dick Davies
rasputnik at hellooperator.net
Wed Nov 24 08:35:04 PST 2004
* metallarch <metallarch at 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
More information about the freebsd-questions
mailing list