Summary: | Add 404 pages | ||
---|---|---|---|
Product: | Gentoo Infrastructure | Reporter: | Raúl Porcel (RETIRED) <armin76> |
Component: | [OLD] gpackages | Assignee: | Gentoo Packages Website <gpackages> |
Status: | RESOLVED OBSOLETE | ||
Severity: | enhancement | ||
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | Return 404 for bad query parameters or when there are no results instead of redirecting to / |
Description
Raúl Porcel (RETIRED)
![]() Bah, sorry for the bugspam No, it doesn't redirect you at the moment. http://packages.gentoo.org/ubuntu Just gives you a 404. Ok, this is what i mean, sorry i didn't specify it: http://packages.gentoo.org/package/glibccc?arches=linux This cannot be done trivially in apache, because IMHO the queries is passed to the python-handler. I guess you need to "raise cherrypy.HTTPError(404)" there. Created attachment 286143 [details, diff]
Return 404 for bad query parameters or when there are no results instead of redirecting to /
Will no longer affect our replacement site due to launch soon. Closing. |