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=41960>.
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=41960





------- Additional Comments From [EMAIL PROTECTED]  2007-03-28 12:52 -------
As I mentioned before, the issue is not limited to Content type, but the
actual issue is not calling ap_location_walk from ap_process_request_internal.

Suppose, we do the setting like this :

<LocationMatch "^/conneg-test">
    Options MultiViews
    AddHandler htmlhandler .html
    Action htmlhandler /cgi-bin/test.php
</LocationMatch>

------------------------------------------------
If we send the /conneg-test/design.html then /cgi-bin/test.php executes. But
if we send /conneg-test/design request then design.html document is sent.
------------------------------------------------
[/disk/apache/httpd-2.2.x] $ curl --dump-header - -o -
http://lbasantk3:4004/conneg-test/design.html
HTTP/1.1 200 OK
Date: Wed, 28 Mar 2007 19:39:33 GMT
Server: Apache/2.2.5-dev (Unix) mod_ssl/2.2.5-dev OpenSSL/0.9.8a DAV/2
Content-Length: 21
Content-Type: text/plain

test.php cgi script!
------------------------------------------------
[/disk/apache/httpd-2.2.x] $ curl --dump-header - -o -
http://lbasantk3:4004/conneg-test/design HTTP/1.1 200 OK
Date: Wed, 28 Mar 2007 19:39:36 GMT
Server: Apache/2.2.5-dev (Unix) mod_ssl/2.2.5-dev OpenSSL/0.9.8a DAV/2
Content-Location: design.html
Vary: negotiate
TCN: choice
Last-Modified: Wed, 28 Mar 2007 01:12:02 GMT
ETag: "7a79d-2c-53687c80;5377bec0"
Accept-Ranges: bytes
Content-Length: 44
Content-Type: text/html

<HTML>
<BODY>
test message
</BODY>
</HTML>
------------------------------------------------

The behaviour does not seem to be intuitive to apache users.


-- 
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to