I have set a scratch directory for Apache HTTPd writable by everybody.
drwxr-xr-x 2 wwwrun www 4096 11-24 22:28 /tmp/www
Alias /scratch "/tmp/www"
<Directory /tmp/www>
Allow from all
Order Allow,Deny
</Directory>
I created /tmp/www/test.txt and the request GET /scratch/test.txt works.
However, the following command does not work:
curl -k -T ./test.html https://server/scratch/
HTTPd returns Error 403, with the following explanation:
The PUT method is not allowed for the requested URL
So far so good, although not exactly what I wanted.
The request is reported in the [access log](file:///var/log/apache2/access_log) but the error is not reported in the [error log](file:/var/log/apache2/error_log)!
Even after I set LogLevel to debug!