W3C home > Mailing lists > Public > www-jigsaw@w3.org > July to August 1996

FileAttribute and PassDir question

From: Anselm Baird-Smith <abaird@w3.org>
Date: Thu, 22 Aug 1996 17:34:50 +0500
Message-Id: <9608222134.AA01326@www18.w3.org>
To: alex@access.com.au (Alexandre Rafalovitch)
Cc: www-jigsaw@w3.org
[This one is very old, sorry]

Alexandre Rafalovitch writes:
 > Hi,
 > I was looking at PassDirectory and suddenly had a question in my mind. Is
 > pass-target relative or absolute. If it is absolute then what happens if it
 > was in the root space and if it relative than relative to what. So I tried
 > an experiment.
 > I created a PassDirectory resource and gave it absolute directory address.
 > That worked and showed me the directory I pointed to.

Yes, this is the intended usage.

 > Next I called up editor on PassDir again and changed pass-target to non
 > absolute dir (without front /).
 > When I pressed Ok, I noticed that pass-target changed to give me an
 > absolute address.Unfortunately, it showed me that relative address is
 > counted not from WWW directory (which is default servable space) but from
 > directory above it (Jigsaw/Jigsaw in distribution). That seems wrong to me.
 > Is it? Also, where is the piece of code that changed relative filename into
 > absolute filename? I did not seem to find it in FileAttribute.java.

Relative to the current directory of the server I think (!). It should
be relative to the server's root directory when not absolute...(I'll
fix it).

Received on Thursday, 22 August 1996 17:34:58 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:25:29 UTC