httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Julian Reschke <>
Subject Re: mod_dav inconsistent behaviour for GET requests
Date Fri, 29 Jan 2010 09:06:52 GMT
Stefan Fritsch wrote:
> Hi,
> mod_dav doesn't handle GET requests in a consistent way: If a repos 
> provider has handle_get == 1, mod_dav will handle GET requests by 
> itself. This means no other handler will get a chance to interpret the 
> file as script or SSI. On the other hand, if the repos provider has 
> handle_get == 0, mod_dav will do nothing and another handler like 
> mod_php or mod_include may handle scripts, causing the output of the 
> script execution to be sent to the client instead of the script 
> source.
> ...

Lesson: don't serve the script's output and the script itself from the 
same URI.

And if you really really have to, consider using the MS extension 
request header "Translate".

BR, Julian

View raw message