Uploaded image for project: 'Modules'
  1. Modules
  2. MODULES-10360

puppetlabs-apache : wrong filenames for autoindex icons on rhel6/7

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: apache
    • Labels:
      None
    • Template:
      MODULES Bug Template
    • Method Found:
      Needs Assessment
    • QA Risk Assessment:
      Needs Assessment

      Description

      Basic Info
      Module Version: 5.3.0
      Puppet Version:
      OS Name/Version: RHEL 7 and RHEL 6

      In the manifest autoindex.pp a conf file called autoindex.conf is created using the template autoindex.conf.erb. It contains "AddIcon" -Entries e.g.:

      AddIcon /icons/odf6odt-20x22.png .odt

      But on rhel 7 / 6 there is no file named odf6odt-20x22.png but there is a file contained in package httpd called odf6odt.png. So I suppose on rhel 7/6 the former line in autconf.index should be corrected to:

      AddIcon /icons/odf6odt.png .odt

      For debian the filename odf6odt-20x22.png seems to fit:

      https://debian.pkgs.org/10/debian-main-amd64/apache2-data_2.4.38-3+deb10u3_all.deb.html

      Apache doc:

      http://httpd.apache.org/docs/current/mod/mod_autoindex.html

       

      On a rhel7 system:

      # rpm -ql httpd | grep -i icon
      /usr/share/httpd/icons
      /usr/share/httpd/icons/README
      /usr/share/httpd/icons/README.html
      /usr/share/httpd/icons/a.gif
      /usr/share/httpd/icons/a.png
      /usr/share/httpd/icons/alert.black.gif
      /usr/share/httpd/icons/alert.black.png
      /usr/share/httpd/icons/alert.red.gif
      /usr/share/httpd/icons/alert.red.png
      /usr/share/httpd/icons/apache_pb.gif
      /usr/share/httpd/icons/apache_pb.png
      /usr/share/httpd/icons/apache_pb.svg
      /usr/share/httpd/icons/apache_pb2.gif
      /usr/share/httpd/icons/apache_pb2.png
      /usr/share/httpd/icons/back.gif
      /usr/share/httpd/icons/back.png
      /usr/share/httpd/icons/ball.gray.gif
      /usr/share/httpd/icons/ball.gray.png
      /usr/share/httpd/icons/ball.red.gif
      /usr/share/httpd/icons/ball.red.png
      /usr/share/httpd/icons/binary.gif
      /usr/share/httpd/icons/binary.png
      /usr/share/httpd/icons/binhex.gif
      /usr/share/httpd/icons/binhex.png
      /usr/share/httpd/icons/blank.gif
      /usr/share/httpd/icons/blank.png
      /usr/share/httpd/icons/bomb.gif
      /usr/share/httpd/icons/bomb.png
      /usr/share/httpd/icons/box1.gif
      /usr/share/httpd/icons/box1.png
      /usr/share/httpd/icons/box2.gif
      /usr/share/httpd/icons/box2.png
      /usr/share/httpd/icons/broken.gif
      /usr/share/httpd/icons/broken.png
      /usr/share/httpd/icons/burst.gif
      /usr/share/httpd/icons/burst.png
      /usr/share/httpd/icons/c.gif
      /usr/share/httpd/icons/c.png
      /usr/share/httpd/icons/comp.blue.gif
      /usr/share/httpd/icons/comp.blue.png
      /usr/share/httpd/icons/comp.gray.gif
      /usr/share/httpd/icons/comp.gray.png
      /usr/share/httpd/icons/compressed.gif
      /usr/share/httpd/icons/compressed.png
      /usr/share/httpd/icons/continued.gif
      /usr/share/httpd/icons/continued.png
      /usr/share/httpd/icons/dir.gif
      /usr/share/httpd/icons/dir.png
      /usr/share/httpd/icons/diskimg.gif
      /usr/share/httpd/icons/diskimg.png
      /usr/share/httpd/icons/down.gif
      /usr/share/httpd/icons/down.png
      /usr/share/httpd/icons/dvi.gif
      /usr/share/httpd/icons/dvi.png
      /usr/share/httpd/icons/f.gif
      /usr/share/httpd/icons/f.png
      /usr/share/httpd/icons/folder.gif
      /usr/share/httpd/icons/folder.open.gif
      /usr/share/httpd/icons/folder.open.png
      /usr/share/httpd/icons/folder.png
      /usr/share/httpd/icons/folder.sec.gif
      /usr/share/httpd/icons/folder.sec.png
      /usr/share/httpd/icons/forward.gif
      /usr/share/httpd/icons/forward.png
      /usr/share/httpd/icons/generic.gif
      /usr/share/httpd/icons/generic.png
      /usr/share/httpd/icons/generic.red.gif
      /usr/share/httpd/icons/generic.red.png
      /usr/share/httpd/icons/generic.sec.gif
      /usr/share/httpd/icons/generic.sec.png
      /usr/share/httpd/icons/hand.right.gif
      /usr/share/httpd/icons/hand.right.png
      /usr/share/httpd/icons/hand.up.gif
      /usr/share/httpd/icons/hand.up.png
      /usr/share/httpd/icons/icon.sheet.gif
      /usr/share/httpd/icons/icon.sheet.png
      /usr/share/httpd/icons/image1.gif
      /usr/share/httpd/icons/image1.png
      /usr/share/httpd/icons/image2.gif
      /usr/share/httpd/icons/image2.png
      /usr/share/httpd/icons/image3.gif
      /usr/share/httpd/icons/image3.png
      /usr/share/httpd/icons/index.gif
      /usr/share/httpd/icons/index.png
      /usr/share/httpd/icons/layout.gif
      /usr/share/httpd/icons/layout.png
      /usr/share/httpd/icons/left.gif
      /usr/share/httpd/icons/left.png
      /usr/share/httpd/icons/link.gif
      /usr/share/httpd/icons/link.png
      /usr/share/httpd/icons/movie.gif
      /usr/share/httpd/icons/movie.png
      /usr/share/httpd/icons/odf6odb.png
      /usr/share/httpd/icons/odf6odc.png
      /usr/share/httpd/icons/odf6odf.png
      /usr/share/httpd/icons/odf6odg.png
      /usr/share/httpd/icons/odf6odi.png
      /usr/share/httpd/icons/odf6odm.png
      /usr/share/httpd/icons/odf6odp.png
      /usr/share/httpd/icons/odf6ods.png
      /usr/share/httpd/icons/odf6odt.png
      /usr/share/httpd/icons/odf6otc.png
      /usr/share/httpd/icons/odf6otf.png
      /usr/share/httpd/icons/odf6otg.png
      /usr/share/httpd/icons/odf6oth.png
      /usr/share/httpd/icons/odf6oti.png
      /usr/share/httpd/icons/odf6otp.png
      /usr/share/httpd/icons/odf6ots.png
      /usr/share/httpd/icons/odf6ott.png
      /usr/share/httpd/icons/p.gif
      /usr/share/httpd/icons/p.png
      /usr/share/httpd/icons/patch.gif
      /usr/share/httpd/icons/patch.png
      /usr/share/httpd/icons/pdf.gif
      /usr/share/httpd/icons/pdf.png
      /usr/share/httpd/icons/pie0.gif
      /usr/share/httpd/icons/pie0.png
      /usr/share/httpd/icons/pie1.gif
      /usr/share/httpd/icons/pie1.png
      /usr/share/httpd/icons/pie2.gif
      /usr/share/httpd/icons/pie2.png
      /usr/share/httpd/icons/pie3.gif
      /usr/share/httpd/icons/pie3.png
      /usr/share/httpd/icons/pie4.gif
      /usr/share/httpd/icons/pie4.png
      /usr/share/httpd/icons/pie5.gif
      /usr/share/httpd/icons/pie5.png
      /usr/share/httpd/icons/pie6.gif
      /usr/share/httpd/icons/pie6.png
      /usr/share/httpd/icons/pie7.gif
      /usr/share/httpd/icons/pie7.png
      /usr/share/httpd/icons/pie8.gif
      /usr/share/httpd/icons/pie8.png
      /usr/share/httpd/icons/portal.gif
      /usr/share/httpd/icons/portal.png
      /usr/share/httpd/icons/poweredby.png
      /usr/share/httpd/icons/ps.gif
      /usr/share/httpd/icons/ps.png
      /usr/share/httpd/icons/quill.gif
      /usr/share/httpd/icons/quill.png
      /usr/share/httpd/icons/right.gif
      /usr/share/httpd/icons/right.png
      /usr/share/httpd/icons/screw1.gif
      /usr/share/httpd/icons/screw1.png
      /usr/share/httpd/icons/screw2.gif
      /usr/share/httpd/icons/screw2.png
      /usr/share/httpd/icons/script.gif
      /usr/share/httpd/icons/script.png
      /usr/share/httpd/icons/small
      /usr/share/httpd/icons/small/back.gif
      /usr/share/httpd/icons/small/back.png
      /usr/share/httpd/icons/small/binary.gif
      /usr/share/httpd/icons/small/binary.png
      /usr/share/httpd/icons/small/binhex.gif
      /usr/share/httpd/icons/small/binhex.png
      /usr/share/httpd/icons/small/blank.gif
      /usr/share/httpd/icons/small/blank.png
      /usr/share/httpd/icons/small/broken.gif
      /usr/share/httpd/icons/small/broken.png
      /usr/share/httpd/icons/small/burst.gif
      /usr/share/httpd/icons/small/burst.png
      /usr/share/httpd/icons/small/comp1.gif
      /usr/share/httpd/icons/small/comp1.png
      /usr/share/httpd/icons/small/comp2.gif
      /usr/share/httpd/icons/small/comp2.png
      /usr/share/httpd/icons/small/compressed.gif
      /usr/share/httpd/icons/small/compressed.png
      /usr/share/httpd/icons/small/continued.gif
      /usr/share/httpd/icons/small/continued.png
      /usr/share/httpd/icons/small/doc.gif
      /usr/share/httpd/icons/small/doc.png
      /usr/share/httpd/icons/small/folder.gif
      /usr/share/httpd/icons/small/folder.png
      /usr/share/httpd/icons/small/folder2.gif
      /usr/share/httpd/icons/small/folder2.png
      /usr/share/httpd/icons/small/forward.gif
      /usr/share/httpd/icons/small/forward.png
      /usr/share/httpd/icons/small/generic.gif
      /usr/share/httpd/icons/small/generic.png
      /usr/share/httpd/icons/small/generic2.gif
      /usr/share/httpd/icons/small/generic2.png
      /usr/share/httpd/icons/small/generic3.gif
      /usr/share/httpd/icons/small/generic3.png
      /usr/share/httpd/icons/small/image.gif
      /usr/share/httpd/icons/small/image.png
      /usr/share/httpd/icons/small/image2.gif
      /usr/share/httpd/icons/small/image2.png
      /usr/share/httpd/icons/small/index.gif
      /usr/share/httpd/icons/small/index.png
      /usr/share/httpd/icons/small/key.gif
      /usr/share/httpd/icons/small/key.png
      /usr/share/httpd/icons/small/movie.gif
      /usr/share/httpd/icons/small/movie.png
      /usr/share/httpd/icons/small/patch.gif
      /usr/share/httpd/icons/small/patch.png
      /usr/share/httpd/icons/small/ps.gif
      /usr/share/httpd/icons/small/ps.png
      /usr/share/httpd/icons/small/rainbow.gif
      /usr/share/httpd/icons/small/rainbow.png
      /usr/share/httpd/icons/small/sound.gif
      /usr/share/httpd/icons/small/sound.png
      /usr/share/httpd/icons/small/sound2.gif
      /usr/share/httpd/icons/small/sound2.png
      /usr/share/httpd/icons/small/tar.gif
      /usr/share/httpd/icons/small/tar.png
      /usr/share/httpd/icons/small/text.gif
      /usr/share/httpd/icons/small/text.png
      /usr/share/httpd/icons/small/transfer.gif
      /usr/share/httpd/icons/small/transfer.png
      /usr/share/httpd/icons/small/unknown.gif
      /usr/share/httpd/icons/small/unknown.png
      /usr/share/httpd/icons/small/uu.gif
      /usr/share/httpd/icons/small/uu.png
      /usr/share/httpd/icons/sound1.gif
      /usr/share/httpd/icons/sound1.png
      /usr/share/httpd/icons/sound2.gif
      /usr/share/httpd/icons/sound2.png
      /usr/share/httpd/icons/sphere1.gif
      /usr/share/httpd/icons/sphere1.png
      /usr/share/httpd/icons/sphere2.gif
      /usr/share/httpd/icons/sphere2.png
      /usr/share/httpd/icons/svg.png
      /usr/share/httpd/icons/tar.gif
      /usr/share/httpd/icons/tar.png
      /usr/share/httpd/icons/tex.gif
      /usr/share/httpd/icons/tex.png
      /usr/share/httpd/icons/text.gif
      /usr/share/httpd/icons/text.png
      /usr/share/httpd/icons/transfer.gif
      /usr/share/httpd/icons/transfer.png
      /usr/share/httpd/icons/unknown.gif
      /usr/share/httpd/icons/unknown.png
      /usr/share/httpd/icons/up.gif
      /usr/share/httpd/icons/up.png
      /usr/share/httpd/icons/uu.gif
      /usr/share/httpd/icons/uu.png
      /usr/share/httpd/icons/uuencoded.gif
      /usr/share/httpd/icons/uuencoded.png
      /usr/share/httpd/icons/world1.gif
      /usr/share/httpd/icons/world1.png
      /usr/share/httpd/icons/world2.gif
      /usr/share/httpd/icons/world2.png
      /usr/share/httpd/icons/xml.png

      Desired Behavior: Paths/filenames are correct.

      Actual Behavior: Paths/filenames of icons are incorrect so that icons on directory listings in apache can't be displayed.**

      Please take a moment and attach any relevant log output and/or manifests. This will help us immensely when troubleshooting the issue.

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            t_d_l_c Ludwig Cornelius
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Zendesk Support