- From: Sean B. Palmer <sean@mysterylights.com>
- Date: Wed, 28 Mar 2001 23:37:53 +0100
- To: "Aaron Swartz" <aswartz@swartzfam.com>
- Cc: <www-talk@w3.org>
> I'd love to see PUT more widely available. PUT is fairly easy to implement on Apache, and I have been able to do so sucessfully, although I am still sorting out some bugs. There is an excellent article about adding PUT capabilities to Apache at apacheweek [1], and they have a Perl script [2] that you can use for this purpose. All you need to do is add a PUT handler in the conf file:- Script PUT /cgi-bin/put.pl Put that in whatever place you want to give write access to: this can be a whole server (just put it anywhere), a directory (using <Directory x>) or even a file (using <Files x>). Then of course, your put.pl script goes in your cgi-bin. Authentication is a bit trickier, but the apacheweek article says to do something like:- <Directory /usr/local/etc/httpd/htdocs> Script PUT /cgi-bin-put/put.cgi </Directory> <Directory /usr/local/etc/httpd/cgi-bin-put> AuthType Basic AuthName "Authorised PUT Publishers" AuthUserFile /usr/local/etc/httpd/htpasswd-put </Directory> ScriptAlias /cgi-bin-put /usr/local/etc/httpd/cgi-bin-put Which is great, except I can't quite get it going properly on Win32 yet. Next step: a PUT Wiki. [1] http://www.apacheweek.com/features/put [2] http://www.apacheweek.com/issues/put1 -- Kindest Regards, Sean B. Palmer @prefix : <http://webns.net/roughterms/> . :Sean :hasHomepage <http://purl.org/net/sbp/> .
Received on Wednesday, 28 March 2001 17:35:42 UTC