From owner-freebsd-questions@FreeBSD.ORG Sun Dec 26 08:37:30 2004 Return-Path: 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 981D316A4CE for ; Sun, 26 Dec 2004 08:37:30 +0000 (GMT) Received: from mtiwmhc11.worldnet.att.net (mtiwmhc11.worldnet.att.net [204.127.131.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2359943D46 for ; Sun, 26 Dec 2004 08:37:28 +0000 (GMT) (envelope-from jayobrien@worldnet.att.net) Received: from [192.168.1.6] (dsl093-180-184.sac1.dsl.speakeasy.net[66.93.180.184]) by worldnet.att.net (mtiwmhc11) with ESMTP id <2004122608372711100j7sbie> (Authid: jayobrien@att.net); Sun, 26 Dec 2004 08:37:27 +0000 Message-ID: <41CE7846.2080007@att.net> Date: Sun, 26 Dec 2004 00:37:26 -0800 From: Jay O'Brien User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.2) Gecko/20040803 X-Accept-Language: en-us, en MIME-Version: 1.0 To: FreeBSD - questions References: <41CDC8E8.6010704@att.net> <20041225221225.6803332d.wmoran@potentialtech.com> <41CE3598.30602@att.net> In-Reply-To: <41CE3598.30602@att.net> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: Re: Apache trailing slash - was web server permissions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 26 Dec 2004 08:37:30 -0000 Jay O'Brien wrote: > changing the links to add a trailing / "fixed" the > problem, and if I didn't want to use existing web pages with shortened > relative links without the trailing / character, it wouldn't be a > problem. > > I would like to understand what is causing this to work the way it is. > I now understand it is either an Apache problem, perhaps related to the fact I'm using an IP number as ServerName, not a URL, and perhaps related to the fact that I'm behind a NAT firewall (linksys router) that passes port 80 to my FreeBSD machine on 192.168.1.9. What's happening is that the client on the internet is being redirected to the 192.168.1.9 address, not to the IP number in the ServerName line in httpd.conf. That works fine on my LAN, but not out on the internet. Google returns hundreds of answers for apache "trailing slash", and I'm following up. Any ideas would be appreciated, but as this is clearly not a FreeBSD problem, I'll drop the issue here until I find a solution. Jay