The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Easyapache3 Apache2.2 Fancy Directory Indexing

Discussion in 'EasyApache' started by ddcarnage, Oct 26, 2007.

  1. ddcarnage

    ddcarnage Member

    Joined:
    Mar 1, 2006
    Messages:
    21
    Likes Received:
    0
    Trophy Points:
    1
    Hello,

    Since I've upgraded to apache2.2, my directory indexes (for exemple http://mirror.vizfx.ca/centos/) are plain and ugly. I can't find an option (or I don't see it) in the build configuration so that the directory indexes are pretty like in apache 1.

    Thanks,

    Frank
     
  2. InterServed

    InterServed Well-Known Member

    Joined:
    Jul 10, 2007
    Messages:
    255
    Likes Received:
    2
    Trophy Points:
    18
    cPanel Access Level:
    DataCenter Provider
    I agree with that, probably someone could guide all on how to make a fancy directory indexing :)
     
  3. mtindor

    mtindor Well-Known Member

    Joined:
    Sep 14, 2004
    Messages:
    1,281
    Likes Received:
    37
    Trophy Points:
    48
    Location:
    inside a catfish
    cPanel Access Level:
    Root Administrator
    http://httpd.apache.org/docs/2.2/mod/mod_autoindex.html#indexoptions.fancyindexing

    Looks like you need to include +FancyIndexing in the IndexOptions directive.

    In Apache 1.3.x you'll find something like this in the httpd.conf:

    Code:
    <IfModule mod_autoindex.c>
        IndexOptions FancyIndexing
        AddIconByEncoding (CMP,/icons/compressed.gif) x-compress x-gzip
    
        AddIconByType (IMG,/icons/image2.gif) image/*
        AddIconByType (TXT,/icons/text.gif) text/*
        AddIconByType (VID,/icons/movie.gif) video/*
        AddIconByType (SND,/icons/sound2.gif) audio/*
    
        AddIcon /icons/blank.gif ^^BLANKICON^^
        AddIcon /icons/tar.gif .tar
        AddIcon /icons/tex.gif .tex
        AddIcon /icons/folder.gif ^^DIRECTORY^^
        AddIcon /icons/f.gif .for
        AddIcon /icons/binary.gif .bin .exe
        AddIcon /icons/dvi.gif .dvi
        AddIcon /icons/a.gif .ps .ai .eps
        AddIcon /icons/p.gif .pl .py
        AddIcon /icons/hand.right.gif README
        AddIcon /icons/uuencoded.gif .uu
        AddIcon /icons/c.gif .c
        AddIcon /icons/back.gif ..
        AddIcon /icons/bomb.gif core
        AddIcon /icons/compressed.gif .Z .z .tgz .gz .zip
        AddIcon /icons/script.gif .conf .sh .shar .csh .ksh .tcl
        AddIcon /icons/text.gif .txt
        AddIcon /icons/binhex.gif .hqx
        AddIcon /icons/layout.gif .html .shtml .htm .pdf
        AddIcon /icons/world2.gif .wrl .wrl.gz .vrml .vrm .iv
    
        DefaultIcon /icons/unknown.gif
        ReadmeName README.html
        HeaderName HEADER.html
        IndexIgnore .??* *~ *# HEADER* README* RCS CVS *,v *,t
    
    </IfModule>
    
    Mike
     
  4. AndyReed

    AndyReed Well-Known Member
    PartnerNOC

    Joined:
    May 29, 2004
    Messages:
    2,222
    Likes Received:
    3
    Trophy Points:
    38
    Location:
    Minneapolis, MN
  5. thewird

    thewird Well-Known Member

    Joined:
    Jan 4, 2006
    Messages:
    54
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Toronto
  6. excessnet

    excessnet Well-Known Member

    Joined:
    Aug 7, 2006
    Messages:
    54
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Quebec, Canada
    cPanel Access Level:
    Root Administrator
    Geez... can't see the KB and can't login...
     
  7. rhenderson

    rhenderson Well-Known Member

    Joined:
    Apr 21, 2005
    Messages:
    785
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Oklahoma
    cPanel Access Level:
    Root Administrator
    Yeah me niether, with no email on the web site to ask for registration.
     
Loading...

Share This Page