Received: (qmail 53417 invoked by uid 501); 4 Aug 2000 03:10:52 -0000 Message-Id: <20000804031052.53416.qmail@locus.apache.org> Date: 4 Aug 2000 03:10:52 -0000 From: David Gesswein Reply-To: djg@drs-esg.com To: submit@bugz.apache.org Subject: server-parsed has wrong document base if file name has trailing / X-Send-Pr-Version: 3.110 >Number: 6371 >Category: mod_include >Synopsis: server-parsed has wrong document base if file name has trailing / >Confidential: no >Severity: non-critical >Priority: medium >Responsible: apache >State: closed >Quarter: >Keywords: >Date-Required: >Class: duplicate >Submitter-Id: apache >Arrival-Date: Thu Aug 03 20:20:00 PDT 2000 >Closed-Date: Fri Sep 15 22:41:43 PDT 2000 >Last-Modified: Fri Sep 15 22:41:43 PDT 2000 >Originator: djg@drs-esg.com >Release: 1.3.12 >Organization: >Environment: Linux munin 2.2.16-4 #1 Thu Jul 20 12:40:52 EDT 2000 i586 unknown >Description: On a server-parsed document if the user enters a url like http://www.pdp8.net/index.shtml/ instead of the proper http://www.pdp8.net/index.shtml the page will be fetched but all the relative links will be relative to /index.shtml/ such as run.html becoming /index.shtml/run.shtml. If server-parsed is turned off then you get a file does not exist error instead of the index.shtml file (Which I think is correct). Config file info DirectoryIndex index.html index.htm index.shtml index.cgi AddType text/html .shtml AddHandler server-parsed .shtml Options +Includes AllowOverride None Order allow,deny Allow from all >How-To-Repeat: http://www.pdp8.net/index.shtml/ The index.shtml file is available as http://www.pdp8.net/err.html if you wish to see the page source. The machine is running 1.3.9 but I did test on another 1.3.12. >Fix: No >Release-Note: >Audit-Trail: State-Changed-From-To: open-closed State-Changed-By: slive State-Changed-When: Fri Sep 15 22:41:42 PDT 2000 State-Changed-Why: [This is a standard response.] This issue has been reported before; please search the FAQ and the bug database. Thanks for using Apache! Class-Changed-From-To: sw-bug-duplicate Class-Changed-By: slive Class-Changed-When: Fri Sep 15 22:41:42 PDT 2000 >Unformatted: [In order for any reply to be added to the PR database, you need] [to include in the Cc line and make sure the] [subject line starts with the report component and number, with ] [or without any 'Re:' prefixes (such as "general/1098:" or ] ["Re: general/1098:"). If the subject doesn't match this ] [pattern, your message will be misfiled and ignored. The ] ["apbugs" address is not added to the Cc line of messages from ] [the database 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! ]