views:

47

answers:

0

I've tried it before and remember that apache2 did not allow to send requests with methods other than HEAD,GET,POST to cgi. Is that true or did I just not find the correct solution back then?

I've found somewhere that a line like: Script PUT /cgi-bin/put.pl to access.conf could be used..

What I am trying to do is setting up simple WebDAV functionality as part of my already running .cgi, so I need extended methods like PUT, PROPFIND etc. to be send to my general site .cgi as well.

Can I instruct apache2 to do so, and how?

Please, no hints to the mod_dav apache module. I don't want to use it.

Update:

Ok, still developing this in theory.. But from what I've read so far, I can use the mod_actions Apache module, which enables the above mentioned "Script" directive, enabling me to send for example PROPFIND method requests to my script/cgi.

What bothers me is that I've read there that for example the WebDAV SEARCH method is not allowed to be redefined via mod_actions. What's the use of limiting the enabled methods of mod_actions? And: is this still true?

Second, as it seems I can't redefine a plain GET method by using mod_actions Script directive. Equally true, or a misconception of me?