Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 31 Mar 2006 12:59:46 -0500
From:      "Jim Stapleton" <stapleton.41@gmail.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: Apache Httpd - Access error
Message-ID:  <80f4f2b20603310959h61e15360r7f769047cb40ef44@mail.gmail.com>
In-Reply-To: <442D6535.30704@sensorsistemas.com.br>
References:  <442D6535.30704@sensorsistemas.com.br>

next in thread | previous in thread | raw e-mail | index | archive | help
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.

=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
# ServerName gives the name and port that the server uses to identify itsel=
f.
# 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 her=
e.
#
ServerName 192.168.1.95:80
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D


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@sensorsistemas.com.br> wro=
te:
> 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@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.o=
rg"
>



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