You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2005/02/11 00:31:45 UTC

DO NOT REPLY [Bug 33508] New: - broken folder image in directory index when using small icon set

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=33508>.
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=33508

           Summary: broken folder image in directory index when using small
                    icon set
           Product: Apache httpd-2.0
           Version: 2.0.52
          Platform: PC
        OS/Version: FreeBSD
            Status: NEW
          Severity: minor
          Priority: P2
         Component: Documentation
        AssignedTo: bugs@httpd.apache.org
        ReportedBy: mike@hyperreal.org


Symptom: broken folder image in directory index when using the small icon set.
Probably affects all Apache versions (I am initially filing this report for just
the version I have, though: 2.0.52).

Cause: When the small icon set was added, dir.gif was included, but its
identical twin, folder.gif, was not. folder.gif is needed by the FancyIndexer,
due to the presence of "AddIcon /icons/folder.gif ^^DIRECTORY^^" in the default
httpd.conf.

Reproduction: In your httpd.conf, in the "Aliases" section, put

Alias /icons/ "/usr/local/www/icons-dist/small/"
<Directory "/usr/local/www/icons-dist/small">
    Options Indexes MultiViews
    AllowOverride None
    Order allow,deny
    Allow from all
</Directory>

Elsewhere in httpd.conf, make sure the IndexOptions line has FancyIndexing,
IconWidth=16, and IconHeight=16. Then do a graceful restart, and use a browser
to access a directory that would be subject to indexing and that contains a
subdirectory. Observe the broken image next to the subdirectory.

Solution: Either add copies of dir.gif & dir.png to the Apache distribution as
folder.gif and folder.png, or do whatever is needed to ensure that copies get
created at install time.

Thanks!

- Mike <mi...@hyperreal.org> (original contributor of the small icon set)

-- 
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: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org