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 Gessel <ge...@blackrosetech.com> on 2001/01/05 20:07:16 UTC
mod_autoindex/7032: AddIcon wildcard typing fails (where AddDescription filetyping works)
>Number: 7032
>Category: mod_autoindex
>Synopsis: AddIcon wildcard typing fails (where AddDescription filetyping works)
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: apache
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: apache
>Arrival-Date: Fri Jan 05 11:10:01 PST 2001
>Closed-Date:
>Last-Modified:
>Originator: gessel@blackrosetech.com
>Release: 1.3.14
>Organization:
apache
>Environment:
FreeBSD claudel.blackrosetech.com 4.2-RELEASE FreeBSD 4.2-RELEASE #0: Mon Nov 20 13:02:55 GMT 2000 jkh@bento.FreeBSD.org:/usr/src/sys/compile/GENERIC i386
>Description:
Parametric Tech uses an irritating naming structure which breaks many OSes: appending a version number to the end of the .type extensions as in
spaceshuttle.prt.3
With fancyindexing on, I can set
AddDescription "Pro/Engineer Part File" .prt .prt.* and get the expected results
BUT while:
AddIcon /icons/ptc.gif .prt .prt.1 .prt.2 .prt.3 .prt.4 .prt.5 [etc, ad nauseum]
works and spaceshuttle.prt.3 gets ptc.gif as it's icon -
AddIcon /icons/ptc.gif .prt .prt.*
Fails, spaceshuttle.prt.3 gets text.gif as an icon, not ptc.gif.
>How-To-Repeat:
simply create an AddIcon typed file and append a version number to it.
(wildcard expressions preceeding the type extensions seem to work, as in *_a.wrl)
>Fix:
>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! ]