You are viewing a plain text version of this content. The canonical link for it is here.
Posted to apache-bugdb@apache.org by David Gesswein <dj...@drs-esg.com> on 2000/08/04 05:10:52 UTC
mod_include/6371: server-parsed has wrong document base if file name has trailing /
>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: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: apache
>Arrival-Date: Thu Aug 03 20:20:00 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator: djg@drs-esg.com
>Release: 1.3.12
>Organization:
apache
>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
<Directory "/mnt/wing/apache/share/htdocs">
Options +Includes
AllowOverride None
Order allow,deny
Allow from all
</Directory>
>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:
>Unformatted:
[In order for any reply to be added to the PR database, you need]
[to include <ap...@Apache.Org> 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! ]