Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: zeroone
Fetching contributors…

Cannot retrieve contributors at this time

111 lines (98 sloc) 4.68 kb
#####
# swtndx by Florian Pichler
# http://einserver.de/lab/swtndx/
<IfModule mod_autoindex.c>
# Attention: This script will, once installed in a folder, expose
# any of its and its subfolders contents if you don't add additional
# directives to the subfolders.
# If you don't want search engines to index your content, add a robots.txt
# like the one that comes with this package
# Set filetype for the header replacement
AddType text/html .uihtml
# Enable PHP for it
# This handler will probably vary on your server!
# ask your provider for the right one.
# Examples:
# - application/x-httpd-php
# - php-fcgid
#
# Provider defaults:
## Dreamhost (by github.com/tjluoma)
# AddHandler application/x-httpd-php5 .uihtml
#
## Uberspace
# AddHandler php-fcgid .uihtml
#
# AddHandler php-fcgid .uihtml
AddHandler application/x-httpd-php .uihtml
# Configure Indexing
# These are many settings, learn more about them here:
# http://httpd.apache.org/docs/current/mod/mod_autoindex.html
# or just leave them like that.
Options +Indexes
Options +MultiViews
IndexOptions +FancyIndexing
IndexOptions +FoldersFirst
IndexOptions +IgnoreCase
IndexOptions +NameWidth=*
IndexOptions +SuppressRules
IndexOptions +SuppressDescription
IndexOptions +SuppressColumnSorting
IndexOptions +IgnoreClient
IndexOptions +DescriptionWidth=0
IndexOptions +XHTML
IndexOptions +SuppressHTMLPreamble
IndexOptions +HTMLTable
#IndexOptions +IconHeight=24
#IndexOptions +IconWidth=24
IndexOptions +IconHeight=16
IndexOptions +IconWidth=16
IndexOptions +IconsAreLinks
IndexOptions +Charset=UTF-8
# Enable header & footer replacement
# The header requires PHP but both files are required
# to be text/html, but since we made up a filetype
# for the header, it can use PHP just fine.
# The footer doesn't process any code so it is plain html.
HeaderName /swtndx/header.uihtml
ReadmeName /swtndx/footer.html
# Hide some files which should not show up in the listing.
# You can also add your own entries, but remember this setting
# will be inherited by all subfolders (as all of these settings)
IndexIgnore robots.txt swtndx
# Icons
# Replace /swtndx/icons/ with /swtndx/icons_fugue/ and adjust +IconHeight and +IconWidth
# if you want 16x16px sized icons
#DefaultIcon /swtndx/icons_chalkwork/document.png
#AddIcon /swtndx/icons_chalkwork/blank.png ^^BLANKICON^^
#AddIcon /swtndx/icons_chalkwork/folder.png ^^DIRECTORY^^
#AddIcon /swtndx/icons_chalkwork/up.png ..
#AddIconByType /swtndx/icons_chalkwork/image.png image/*
#AddIconByType /swtndx/icons_chalkwork/document.png text/*
#AddIcon /swtndx/icons_chalkwork/script.png .js
#AddIcon /swtndx/icons_chalkwork/rtf.png .rtf
#AddIcon /swtndx/icons_chalkwork/ics.png .ics
#AddIcon /swtndx/icons_chalkwork/vcf.png .vcf
#AddIcon /swtndx/icons_chalkwork/flv.png .flv .swf
#AddIcon /swtndx/icons_chalkwork/image.png .ai .svg .e.gif .bmp .tiff .tif .png .jpg .jpeg
#AddIcon /swtndx/icons_chalkwork/package.png .zip .rar .bz .tar .rpm .dmg
#AddIcon /swtndx/icons_chalkwork/document.png .mdown .md .markdown .js .txt .pages
#AddIcon /swtndx/icons_chalkwork/plugin.png .safariextz
#AddIcon /swtndx/icons_chalkwork/audio.png .mp3 .m4a .m4b .m4r .wav .midi .ogg .flac .aiff
#AddIcon /swtndx/icons_chalkwork/rtf.png .pdf .rtf .doc .docx
DefaultIcon /swtndx/icons/document.png
AddIcon /swtndx/icons/blank.png ^^BLANKICON^^
AddIcon /swtndx/icons/folder.png ^^DIRECTORY^^
AddIcon /swtndx/icons/up.png ..
AddIconByType /swtndx/icons/image.png image/*
AddIconByType /swtndx/icons/document.png text/*
AddIcon /swtndx/icons/script.png .js .html
AddIcon /swtndx/icons/image.png .ai .svg .e.gif .bmp .tiff .tif .png .jpg .jpeg
AddIcon /swtndx/icons/package.png .zip .rar .bz .tar .rpm
AddIcon /swtndx/icons/dmg.png .dmg .safariextz
AddIcon /swtndx/icons/document.png .mdown .md .markdown .js .txt .pages
AddIcon /swtndx/icons/audio.png .mp3 .m4a .m4b .m4r .wav .midi .ogg .flac .aiff
AddIcon /swtndx/icons/rtf.png .pdf .rtf .doc .docx .xls .xlsx
# Advanced: Fix symlinks - Uncomment only if you know what you are doing.
# Options +FollowSymLinks
</IfModule>
Jump to Line
Something went wrong with that request. Please try again.