Received: (qmail 7374 invoked by uid 2012); 19 Oct 1998 12:03:59 -0000 Message-Id: <19981019120359.7373.qmail@hyperreal.org> Date: 19 Oct 1998 12:03:59 -0000 From: Marc PERRIN Reply-To: marc_perrin@hp.com To: apbugs@hyperreal.org Subject: Incorrect Multiple Choices returned list X-Send-Pr-Version: 3.2 >Number: 3239 >Category: mod_speling >Synopsis: Incorrect Multiple Choices returned list >Confidential: no >Severity: non-critical >Priority: medium >Responsible: apache >State: closed >Class: sw-bug >Submitter-Id: apache >Arrival-Date: Mon Oct 19 05:10:00 PDT 1998 >Last-Modified: Tue Oct 27 12:23:17 PST 1998 >Originator: marc_perrin@hp.com >Organization: >Release: 1.3.3 >Environment: HP-UX 10.20 >Description: here is the "300 Multiple Choice" message I get: The document name you requested (/course_info/course_info/schedules/medical.html) could not be found on this server. However, we found documents with names similar to the one you requested. Available documents: /course_info/course_info.html/schedules/medical.html (common basename) The issue is that /course_info/course_info.html is a file which exist, but it is not a directory. clicking on the proposed link returns a 404 error. In this case, valid answers should be: /course_info/course_info.html (this one would suit me) or /course_info/schedules/medical.html (rather difficult to guess) However, this mod_speling module is great ! Best regards Marc >How-To-Repeat: See example above Same whoud occure with /course_info/schedules/medical/html It would return /course_info/schedules/medical.html/html This is based on actual typos I found in my web log files. >Fix: When finding a matching file in place of a directory, remove anything after it. >Audit-Trail: State-Changed-From-To: open-closed State-Changed-By: rbbloom@us.ibm.com State-Changed-When: Tue Oct 27 12:23:16 PST 1998 State-Changed-Why: Neglecting everything past the end of a file name is not a good idea, and can break scripts and SSI files. This data is interpreted as PATH_INFO for those files, and throwing it away would not be good. Thank you for using Apache. >Unformatted: [In order for any reply to be added to the PR database, ] [you need to include in the Cc line ] [and leave the subject line UNCHANGED. This is not done] [automatically because of the potential for mail loops. ] [If you do not include this Cc, your reply may be ig- ] [nored unless you are responding to an explicit request ] [from a developer. ] [Reply only with text; DO NOT SEND ATTACHMENTS! ]