From owner-freebsd-questions@FreeBSD.ORG Sun Dec 26 03:46:32 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 8EE0E16A4CE for ; Sun, 26 Dec 2004 03:46:32 +0000 (GMT) Received: from mtiwmhc13.worldnet.att.net (mtiwmhc13.worldnet.att.net [204.127.131.117]) by mx1.FreeBSD.org (Postfix) with ESMTP id AD25D43D2D for ; Sun, 26 Dec 2004 03:46:27 +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 (mtiwmhc13) with ESMTP id <20041226034624113005oo1je> (Authid: jayobrien@att.net); Sun, 26 Dec 2004 03:46:24 +0000 Message-ID: <41CE3405.2090409@att.net> Date: Sat, 25 Dec 2004 19:46:13 -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> In-Reply-To: <41CDC8E8.6010704@att.net> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: Re: web server permissions question 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 03:46:32 -0000 Jay O'Brien wrote: > I think this is a permissions issue. I just installed Apache13, > and it works fine on my LAN using a fixed local IP. I opened > port 80 in my Linksys router, and from the internet I can now > get to my home page over the internet, using my fixed IP. > >>From my local LAN I can use links on my home page to display > html files in directories under the directory where my home > page lives. However, from over the internet I can only get to > my home page. Except, I can go to IP/manual/ and apache shows > me the apache manual pages by virtue of an alias in httpd.conf. > > So, I know it is possible to access other web pages via the > internet connection; I just don't know how to allow access to > my subdirectories. > > Jay O'Brien > Rio Linda, California USA > More data on this issue.... I found how to get around this problem, and it isn't permissions at all. On the other web server I use, I use relative and shortened addressing on links, for example /xyz which, when selected by the user, would then send the user the /xyz/home.html file, in the xyz subdirectory under the directory where the home page lives. Now, with this version, I find that I must add a trailing /, using /xyz/ instead of /xyz, and with that change everything works as expected. I can now access home.html files in subtending directories with such shortened relative links from my LAN and from the internet. This doesn't explain why the link without the trailing / works fine on my local LAN but not when accessed over the internet. I would prefer to have it work without the trailing / because I want to copy many existing pages with such relative addresses from my other server. I'm not sure where to look in them, but... now to the Apache manuals! Jay