You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2005/12/21 03:40:41 UTC
DO NOT REPLY [Bug 37983] New: - `Header` directive has no effect with mod_actions
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=37983>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=37983
Summary: `Header` directive has no effect with mod_actions
Product: Apache httpd-2
Version: 2.0.55
Platform: All
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: mod_headers
AssignedTo: bugs@httpd.apache.org
ReportedBy: ms419@freezone.co.uk
The `Header` directive has no effect on resources handled by mod_actions
I publish a WebDAV server written in PHP using Apache & PHP CGI
The WebDAV spec promisses OPTIONS responses include a `DAV:` header - & some
WebDAV clients require it - but Apache doesn't pass OPTIONS requests to CGIs
By putting `Header set DAV 1,2` in .htaccess, I can add a `DAV:` header to all
requests for most resources - including OPTIONS requests
However, it has no effect on PHP scripts, which are interpreted using
mod_actions & PHP CGI
For the `Header` directive to affect PHP scripts, I must put it in .htaccess in
the directory containing the PHP CGI interpreter. But in this case, the `DAV:`
header is added to all PHP scripts
This is a related problem - http://thread.gmane.org/gmane.comp.apache.user/45401
I think the `Header` directive should affect all resources in a directory,
including those handled by mod_actions
Many thanks!
Jack
--
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org
DO NOT REPLY [Bug 37983] - `Header` directive has no effect with mod_actions
Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=37983>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=37983
nick@webthing.com changed:
What |Removed |Added
----------------------------------------------------------------------------
Severity|normal |enhancement
Status|NEW |RESOLVED
Resolution| |INVALID
------- Additional Comments From nick@webthing.com 2006-12-12 17:42 -------
When you use CGI, it's up to the script to generate custom headers like DAV:.
However, I *think* this will work as you want if you use the "always" argument
to Header. If not, feel free to reopen this as an enhancement request.
--
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org