Bug 1196325

Summary: bomb.gif icon displayed with other files than intended
Product: Red Hat Enterprise Linux 7 Reporter: Martin Frodl <mfrodl>
Component: httpdAssignee: Luboš Uhliarik <luhliari>
Status: CLOSED DUPLICATE QA Contact: BaseOS QE - Apps <qe-baseos-apps>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 7.1CC: jorton
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 1196553 (view as bug list) Environment:
Last Closed: 2015-03-06 11:31:56 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1196553    

Description Martin Frodl 2015-02-25 17:14:35 UTC
Description of problem:

The default /etc/httpd/conf.d/autoindex.conf file contains the following line:

  AddIcon /icons/bomb.gif core.

As far as understand it, there are at least two issues with this syntax. First, the bomb icon is not displayed where it probably should. Second, in certain cases the bomb icon is displayed where it should not.

Judging from what I see in a directory listing in my browser, the directive tells Apache to use the bomb icon with all files *ending in* "core.", e.g. "core.", "score", "hardcore." et al. Contrarily, the icon will not be displayed with files "core.10216", "core.httpd.12344" and their likes, which is what it was probably meant for (correct me if I am wrong).

After a little fiddling, this is what got me closest to the expected behaviour:

  AddIcon /icons/bomb.gif */core.*


Version-Release number of selected component (if applicable):
httpd-2.4.6-31.el7.x86_64

Comment 2 Martin Frodl 2015-03-06 11:31:56 UTC
Oops, seems this is basically a dupe of bug 1170215.

*** This bug has been marked as a duplicate of bug 1170215 ***