www-apache-bugdb mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Hannes Gruber <h.gru...@gmx.net>
Subject mod_autoindex/8206: links to subdirectories are missing the terminating / in indexing if fancy indexing is not chosen.
Date Sun, 19 Aug 2001 12:12:34 GMT

>Number:         8206
>Category:       mod_autoindex
>Synopsis:       links to subdirectories are missing the terminating / in indexing if fancy
indexing is not chosen.
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    apache
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   apache
>Arrival-Date:   Sun Aug 19 05:20:01 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     h.gruber@gmx.net
>Release:        apache_1.3.20
>Organization:
apache
>Environment:
Linux kirsche 2.4.2-2 #1 Sun Apr 8 20:41:30 EDT 2001 i686 unknown

Compiler etc. I dont know
>Description:
I have not activated fancy indexing and optins set to indexes
this gives me a list of all the subdirectories as described, but the links are broken, because
the terminating slashes are missing.

<H1>Index of /</H1>
<UL><LI><A HREF="/"> Parent Directory</A>
<LI><A HREF="usw"> usw</A>
<LI><A HREF="sarah"> sarah</A>
</UL>

using fancy indexing it works fine:

<IMG SRC="/icons/back.gif" ALT="[DIR]"> <A HREF="/">Parent Directory</A>
<IMG SRC="/icons/folder.gif" ALT="[DIR]"> <A HREF="usw/">usw/</A>
<IMG SRC="/icons/folder.gif" ALT="[DIR]"> <A HREF="sarah/">sarah/</A>


>How-To-Repeat:
prepare your config file like

IndexOptions
<IfModule mod_autoindex.c>
	IndexOptions
</IfModule>

I think you know it beter.
>Fix:
I think that the problem is causedby the fact, that also the output is different. In the fancy
indey the / is also shown on the page. In the <UL> the slash is missing, and maybe because
of that it was forgotten to implement it into the <A haref=...> tag. I think it is good,
that the / is missing in the <UL>. So just add it to the <A haref=...> tag.
>Release-Note:
>Audit-Trail:
>Unformatted:
 [In order for any reply to be added to the PR database, you need]
 [to include <apbugs@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!     ]
 
 


Mime
View raw message