Apache Httpd - Access error
Jim Stapleton
stapleton.41 at gmail.com
Fri Mar 31 17:59:55 UTC 2006
Have you tried setting up the part I have below here, which occures
right after the server admin email address? The example shows the info
for a test machine I have running on my network at home.
========================================
# ServerName gives the name and port that the server uses to identify itself.
# This can often be determined automatically, but we recommend you specify
# it explicitly to prevent problems during startup.
#
# If your host doesn't have a registered DNS name, enter its IP address here.
#
ServerName 192.168.1.95:80
========================================
If I remember correctly, I had a similar problem (on a Windows test
machine) as to what you described, and I did not have the ServerName
set.
On 3/31/06, Rodrigo G. Tavares de Souza <rodrigo at sensorsistemas.com.br> wrote:
> Hi,
>
> I'm getting a strange error when I try a direct access to a folder
> in the server.
> If I simple type the machine address in the browser, it works
> Ex: http://200.153.0.100 [it works]
> But, if I type the address with the folder/file name, it doesn't
> work. The address is
> translated to the machine name, getting an error, because the isn't a
> DNS to this address.
> I saw the httpd.conf, but there is no reference to machine name or
> domain.
>
> Ex: http://200.153.0.100/folder [automatic translated to]
> http://machine.domain.com/folder [it doesn't work]
>
> It also happen in the local network.
>
> What do I suppose to do?
>
> Best Regards,
> Rodrigo Souza
> Sao Paulo - Brazil
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"
>
More information about the freebsd-questions
mailing list