Put a resource

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
   true.
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,
Anselm.
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