You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by ka81 <fo...@ka81.com> on 2009/11/17 23:03:36 UTC

[users@httpd] horizontal scroll

Hello.

this is my - :/d/xampp/apache/conf/extra/httpd-autoindex.conf

-----------------------------------------------------------------------------------------------------------
#
# Directives controlling the display of server-generated directory listings.
#
# Required modules: mod_autoindex, mod_alias
#
# To see the listing of a directory, the Options directive for the
# directory must include "Indexes", and the directory must not contain
# a file matching those listed in the DirectoryIndex directive.
#

#
# IndexOptions: Controls the appearance of server-generated directory
# listings.
#
IndexOptions NameWidth=* SuppressDescription SuppressLastModified SuppressIcon SuppressRules SuppressSize SuppressHTMLPreamble SuppressColumnSorting FoldersFirst FancyIndexing VersionSort ScanHTMLTitles XHTML HTMLtable Type=text/xml
DefaultType application/x-force-download

# We include the /icons/ alias for FancyIndexed directory listings.  If
# you do not use FancyIndexing, you may comment this out.
#
Alias /icons/ "D:/xampp/apache/icons/"

<Directory "D:/xampp/apache/icons">
    Options Indexes FollowSymLinks MultiViews
    AllowOverride None
    Order allow,deny
    Allow from all
</Directory>

#
# AddIcon* directives tell the server which icon to show for different
# files or filename extensions.  These are only displayed for
# FancyIndexed directories.
#
AddIconByEncoding (CMP,/icons/compressed.gif) x-compress x-gzip

AddIconByType (TXT,/icons/text.gif) text/*
AddIconByType (IMG,/icons/image2.gif) image/*
AddIconByType (SND,/icons/sound2.gif) audio/*
AddIconByType (VID,/icons/movie.gif) video/*

AddIcon /icons/binary.gif .bin .exe
AddIcon /icons/binhex.gif .hqx
AddIcon /icons/tar.gif .tar
AddIcon /icons/world2.gif .wrl .wrl.gz .vrml .vrm .iv
AddIcon /icons/compressed.gif .Z .z .tgz .gz .zip
AddIcon /icons/a.gif .ps .ai .eps
AddIcon /icons/layout.gif .html .shtml .htm .pdf
AddIcon /icons/text.gif .txt
AddIcon /icons/c.gif .c
AddIcon /icons/p.gif .pl .py
AddIcon /icons/f.gif .for
AddIcon /icons/dvi.gif .dvi
AddIcon /icons/uuencoded.gif .uu
AddIcon /icons/script.gif .conf .sh .shar .csh .ksh .tcl
AddIcon /icons/tex.gif .tex
AddIcon /icons/bomb.gif core

AddIcon /icons/back.gif ..
AddIcon /icons/hand.right.gif README
AddIcon /icons/folder.gif ^^DIRECTORY^^
AddIcon /icons/blank.gif ^^BLANKICON^^

#
# DefaultIcon is which icon to show for files which do not have an icon
# explicitly set.
#
DefaultIcon /icons/unknown.gif

#
# AddDescription allows you to place a short description after a file in
# server-generated indexes.  These are only displayed for FancyIndexed
# directories.
# Format: AddDescription "description" filename
#
AddDescription "GZIP archive" .gz .GZ
AddDescription "TAR archive" .tar .TAR
AddDescription "GZIP compressed TAR archive" .tgz .TGZ
AddDescription "ZIP archive" .zip .ZIP
AddDescription "RAR archive" .rar .RAR
AddDescription "CAB archive" .cab .CAB
AddDescription "CD image" .iso .ISO
AddDescription "Windows application" .exe .EXE
AddDescription "Windows installer file" .msi .MSI
AddDescription "Text file" .txt .TXT
AddDescription "HTML document" .html .htm .HTML .HTM
AddDescription "PDF document" .pdf .PDF
AddDescription "Office document" .doc .rtf .DOC .RTF
AddDescription "GIF image" .gif .GIF
AddDescription "JPEG image" .jpg .jpeg .JPG .JPEG
AddDescription "PNG image" .png .PNG
AddDescription "MP3 audio file" .mp3 .MP3
AddDescription "MP3 playlist" .m3u .M3U
AddDescription "Ogg Vorbis Audio file" .ogg .OGG
AddDescription "Video file" .avi .AVI
AddDescription "Windows Media File" .asf .ASF .wmv .WMV
AddDescription "Macromedia Flash File" .swf .SWF
AddDescription "Relize Information File" .nfo .NFO
AddDescription "Cuesheet" .cue .CUE
AddDescription "DjVu document" .djvu .djv .DJVU .DJV

#
# ReadmeName is the name of the README file the server will look for by
# default, and append to directory listings.
#
# HeaderName is the name of a file which should be prepended to
# directory indexes. 
ReadmeName /README.html
HeaderName /HEADER.html

#
# IndexIgnore is a set of filenames which directory indexing should ignore
# and not include in the listing.  Shell-style wildcarding is permitted.
#
IndexIgnore .??* *~ *# HEADER* README* RCS CVS *,v *,t
--------------------------------------------------------------------------------------------------------

even got a NameWidth=*  there are still annoing horizontal scroll ()much wider then the widest name of file - music.ka81.com

is it possible to get rid of that scroll?