Edgewall Software
Modify

Opened 19 years ago

Closed 19 years ago

Last modified 12 years ago

#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 Jonas Borgström, 19 years ago

Resolution: invalid
Status: newclosed

Trac trunk sets the Content-Type header correctly. Here's the full list of headers generated by the "No handler matched" 404 page:

Server: tracd/0.10dev Python/2.4.3
Date: Sun, 11 Jun 2006 19:56:07 GMT
Cache-Control: must-revalidate
Expires: Fri, 01 Jan 1999 00:00:00 GMT
Content-Type: text/plain;charset=utf-8
Content-Length: 323

I'm closing this ticket, please reopen it if this still is an issue.

comment:2 by markus, 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:3 by markus, 19 years ago

For the record: Fixed by Christian in [3369].

comment:4 by Christian Boos, 19 years ago

Thanks for the info, I didn't realize that this would fix this particular issue. Good news, then!

comment:5 by Christian Boos, 12 years ago

Milestone: 0.10

(clearing report:35)

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Jonas Borgström.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from Jonas Borgström to the specified user.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.