#3174 closed defect (invalid)
"No handler matched ..." results in 502 - Bad Gateway
Reported by: | markus | Owned by: | Jonas Borgström |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | general | Version: | devel |
Severity: | normal | Keywords: | |
Cc: | Branch: | ||
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description
When installing the latest trunk on IIS 6 without fixing IIS' path_info
behaviour you'll get a 502 - Bad Gateway error.
This is because Trac reports "No handler matched request to …" without setting any Content-Type (should be text/plain
in this case). In consequence, the webserver (IIS in my case) complains about the missing set of HTTP headers.
Attachments (0)
Change History (5)
comment:1 by , 19 years ago
Resolution: | → invalid |
---|---|
Status: | new → closed |
comment:2 by , 19 years ago
Let me guess, you tried to access an address like http://projects.edgewall.com/trac/foo and recorded the headers listed above, right?
comment:4 by , 19 years ago
Thanks for the info, I didn't realize that this would fix this particular issue. Good news, then!
Trac trunk sets the Content-Type header correctly. Here's the full list of headers generated by the "No handler matched" 404 page:
I'm closing this ticket, please reopen it if this still is an issue.