Re: Getting PHP to handle other HTTP methods

From: Date: Thu, 20 Feb 2003 00:32:51 +0000
Subject: Re: Getting PHP to handle other HTTP methods
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-136282@lists.php.net to get a copy of this message
If you're using apache you can do it by twiddling with the Action and Handler configuration options... -philip On Thu, 20 Feb 2003, Sam Minnee wrote: > Hi, > > I want to get PHP to handle the HTTP methods PROPFIND, PUT, DELETE, MKCOL, > RENAME, MOVE, and COPY. I've coded up a WebDAV server in PHP to do things > that mod_dav cannot (store content in a database or filesystem, call event > handlers, filtering the file list, more sophisticated permission > configuration on new folders and files) > > Currently it's running as a standalone app, using xinetd, but I want to try > and get it to run within apache so that I can use the same port, and for > efficiency and security reasons. > > I figured that if I have rewrite rule that changed /dav/(anything) into > /dav/mydav.php?uri=(anything) I would be on my way. However, seems to only > sends the GET and POST methods to the script. I'm using mod_php, not the > standalone w/ a handler. > > Is is possible to send the extra WebDAV methods to the PHP script? > > Thanks, > Sam > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php >

« previous php.general (#136282) next »