Re: Modifying OPTIONS header response
| From: | Marek Kilimajer | Date: | Tue, 07 Oct 2003 13:19:30 +0000 |
| Subject: | Re: Modifying OPTIONS header response | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-165299@lists.php.net to get a copy of this message | ||
Just a wild guess, but try this in apache config:
Script OPTIONS /options.php
Oscar F wrote:
Hello all, I'm working on a php/dav server and I'm having a problem. When the client sends an OPTIONS request to see what methods are allowed, they only get "Allow: GET, HEAD, POST, OPTIONS, TRACE" back from apache. This seems to me a problem since it does not include PROPFIND, COPY, MOVE, LOCK, etc. and some clients don't even try to lock the file and open it read only, I guess because they don't see LOCK, etc. as allowed. My question is, how can I modify the OPTIONS response or at least the Allowed methods?. I can capture/handle HEADs, GETs and everything fine but OPTIONS does not seem to work. Any hints?. Apache/2.0.43 PHP 4.3.0 Thanks. - O.