From owner-freebsd-questions Wed Sep 13 7:36:57 2000 Delivered-To: freebsd-questions@freebsd.org Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by hub.freebsd.org (Postfix) with ESMTP id 3E35C37B422 for ; Wed, 13 Sep 2000 07:36:55 -0700 (PDT) Received: (from dan@localhost) by dan.emsphone.com (8.9.3/8.9.3) id JAA18343; Wed, 13 Sep 2000 09:36:48 -0500 (CDT) (envelope-from dan) Date: Wed, 13 Sep 2000 09:36:48 -0500 From: Dan Nelson To: Greg Hormann-GJ/PGI Cc: questions@FreeBSD.ORG Subject: Re: FTP + IE5 question Message-ID: <20000913093648.A13216@dan.emsphone.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline User-Agent: Mutt/1.3.8i In-Reply-To: ; from "Greg Hormann-GJ/PGI" on Wed Sep 13 07:37:32 GMT 2000 X-OS: FreeBSD 5.0-CURRENT Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In the last episode (Sep 13), Greg Hormann-GJ/PGI said: > I have an application that that writes log files to var/hold/app_log/ > I'd like to set-up a method for user to easily view the log files on > the FreeBSD box from their PCs. (Each user has an account on the > box, and the log files are owned by each user with permissions of > 600.) > > The simplest solution to this problem seem an IE url. > (http://user@host/var/hold/app_log/file.log). Unfortunately, with > this URL, IE5 assumes that "/" is /home/$user. After looking at some > technical documents on URLs, I can't figure out how to override this? It's not an IE issue; the document root is determined by your webserver, and it's sort of a bad idea to ever set your document root to "/". How about having a virtual directory, say "/logs", that has a document root of /var/hold/app_log/ ? Then they can use http://user@host/logs/$user.log , or whatever. > Anybody overcome this issue before? Alternatively, you could write a CGI for handing out the right logfile based on the authenticated username. -- Dan Nelson dnelson@emsphone.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message