Re: PUT method
| From: | Manuel Lemos | Date: | Mon, 07 Aug 2000 22:17:46 +0000 |
| Subject: | Re: PUT method | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-1618@lists.php.net to get a copy of this message | ||
Hello Gonzalo,
On 07-Aug-00 13:39:19, you wrote:
>Hi All!
>I'm running Apache 1.3.12 and PHP 3.0.14 on a Win95 platform. I need
>to use the PUT method to upload files (POST doesn't seem to cover my
>needs). I tried the script and configuration in the instruction
>manual, but I seem to be unable to even get to run the script: I tried
>test scripts that only informed me if they were being executed, but
>got no signal whatsoever.
>The change to my httpd.conf was:
><Directory "d:/Apache/htdocs">
> (... several directives)
> Script PUT "d:/apache/htdocs/put.php"
></Directory>
Script command argument is an actual CGI executable program path, I don't
think that's what you mean.
PHP already handles the PUT method. All you need is to configure Apache to
allow the PUT method requests to be accepted for a given directory. See
Apache documentation of LIMIT and allow.
>How can I get Apache to run a script to handle the PUT method under
>Win95? I want to be able to update documents using simple WYSIWYG HTML
>editor like Netscape composer or FrontPage.
FrontPage does not use PUT. It uses a variant of POST method in which the
contents of the files are encrypted with some algorithm that I don't know
if Microsoft has ever disclosed it.
Regards,
Manuel Lemos
Web Programming Components using PHP Classes.
Look at: http://phpclasses.UpperDesign.com/?user=mlemos@acm.org
--
E-mail: mlemos@acm.org
URL: http://www.mlemos.e-na.net/
PGP key: http://www.mlemos.e-na.net/ManuelLemos.pgp
--