W3C home > Mailing lists > Public > www-jigsaw@w3.org > September to October 1996

Put a resource

From: Anselm Baird_Smith <abaird@www43.inria.fr>
Date: Mon, 21 Oct 1996 19:10:04 +0200 (MET DST)
Message-Id: <199610211710.TAA21310@www43.inria.fr>
To: gs@christine.zfe.siemens.de (Gernot Schober)
Cc: www-jigsaw@w3.org
Gernot Schober writes:
 > Hi!
 > I have a problem, setting up jigsaw1.0a3.
 > I am not able to configer it in a way so that I can use "put" on a resource 
 > ... I tried all the hints allready given on this list, but I did not succeed.
 > May be one can help me.
 > I use Jigsaw1.0a3 on sun-JDK for solaris,
 > the browser is Netscape 3.0gold.

Sorry I don't have netscape gold handy, but here is a checklist:

a) Check that the html (or html) extension has the putable flag set to
b) If you cannot put to a given file (that exists), look through the
   resource editor for its putable flag, set it to true if needed. If
   the file is available at http://foo.com/mydir/myfile, perform the
   check by visiting http://foo.com/Admin/Editor/mydir/myfile

At this point you should be able to edit *existing* files.

Now, if you want to cxreate files through the PUT method, you have to
make sure that the target directory is an instance of
PutableDirectory (and not of DirectoryResource, which is the
default). Say you want "http://foo.com/upload" to be the target
directory (ie you want to be able to create
"http://foo.com/upload/file.html" where file.html doesn't exist yet.

Check that upload is a PutableDirectory resource instance, by going
to http://foo.com/Admin/Editor/upload. If upload is not a
PutableDirectory, remove it and recreate it as such.

Now, you should be able to PUT new files into upload. If you want all
directories *under* upload to be "putable", then (and in that case
only), you can define a template, through /Admin/Directories, for
"upload" as a *generic* (generic=true) PutableDirectory.

Hope this helps,
Whenever I have a chance to donwload netscape gold, I'll check that
the above work, I would be really surprised if it didn't.
Received on Monday, 21 October 1996 13:11:00 UTC

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