Date: Wed, 13 Sep 2000 09:36:48 -0500 From: Dan Nelson <dnelson@emsphone.com> To: Greg Hormann-GJ/PGI <hormann.gj@pg.com> Cc: questions@FreeBSD.ORG Subject: Re: FTP + IE5 question Message-ID: <20000913093648.A13216@dan.emsphone.com> In-Reply-To: <OFB3114819.728E85DE-ON85256959.003ECBC3@na.pg.com>; from "Greg Hormann-GJ/PGI" on Wed Sep 13 07:37:32 GMT 2000 References: <OFB3114819.728E85DE-ON85256959.003ECBC3@na.pg.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000913093648.A13216>