DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=39935>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=39935

           Summary: AddDescription does not do literal comparisons on file
                    extensions
           Product: Apache httpd-2
           Version: 2.2.2
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: mod_autoindex
        AssignedTo: [email protected]
        ReportedBy: [EMAIL PROTECTED]


If you do in the server config:

AddDescription "C source file" .c
AddDescription "MS Visual Basic class file" .cls

and go to an autoindexed page with .cls files, the description for these files
will show the description for the .c file.

The workaround for situations like this is define single character file
extensions after file extensions with more characters starting with that same
character.

Ex.

AddDescription "Java Class File" .class
AddDescription "MS Visual Basic Class File" .cls
AddDescription "C Source File" .c

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to