From owner-freebsd-questions@FreeBSD.ORG Fri Mar 31 17:59:55 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 59F4B16A400 for ; Fri, 31 Mar 2006 17:59:55 +0000 (UTC) (envelope-from stapleton.41@gmail.com) Received: from xproxy.gmail.com (xproxy.gmail.com [66.249.82.202]) by mx1.FreeBSD.org (Postfix) with ESMTP id DFFD043D45 for ; Fri, 31 Mar 2006 17:59:52 +0000 (GMT) (envelope-from stapleton.41@gmail.com) Received: by xproxy.gmail.com with SMTP id s9so486324wxc for ; Fri, 31 Mar 2006 09:59:52 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=m3bjtySIUdfpw6fo8lu3k24xv8/MmgMSeQ3gPDzf0V43lz7ToHmNGPyLSAcfQYuXbuLy4ORdkvQrq2J+EsrHbftUgaWvHbm4aXZDbZ456WI2YFlZvTp7wmOkS/xn8V4NrLd8ZRowoUtzyHliDbxYb4SUgn2cgNNBfCiE5jFWMnQ= Received: by 10.70.75.16 with SMTP id x16mr801670wxa; Fri, 31 Mar 2006 09:59:46 -0800 (PST) Received: by 10.70.74.19 with HTTP; Fri, 31 Mar 2006 09:59:46 -0800 (PST) Message-ID: <80f4f2b20603310959h61e15360r7f769047cb40ef44@mail.gmail.com> Date: Fri, 31 Mar 2006 12:59:46 -0500 From: "Jim Stapleton" To: freebsd-questions@freebsd.org In-Reply-To: <442D6535.30704@sensorsistemas.com.br> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <442D6535.30704@sensorsistemas.com.br> Subject: Re: Apache Httpd - Access error X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 31 Mar 2006 17:59:55 -0000 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 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" >