From 0632591996893fe136a1f2fe44d9b9f404f41f3e Mon Sep 17 00:00:00 2001 From: Harald Pfeiffer Date: Thu, 1 Nov 2018 13:30:58 +0100 Subject: Initial commit --- localfs/var/srv/common/redhat/.htaccess | 107 ++++++++++++++++++++++++++++++++ localfs/var/srv/common/redhat/theme | 1 + 2 files changed, 108 insertions(+) create mode 100644 localfs/var/srv/common/redhat/.htaccess create mode 120000 localfs/var/srv/common/redhat/theme (limited to 'localfs/var/srv/common/redhat') diff --git a/localfs/var/srv/common/redhat/.htaccess b/localfs/var/srv/common/redhat/.htaccess new file mode 100644 index 0000000..79ba615 --- /dev/null +++ b/localfs/var/srv/common/redhat/.htaccess @@ -0,0 +1,107 @@ +# +# Apaxy by @adamwhitcroft +# +# For a full breakdown of the mod_autoindex module: +# http://apache.org/docs/2.4/mod/mod_autoindex.html +# + +# ENABLE INDEXING +Options +Indexes + +# INDEX OPTIONS +IndexOptions +Charset=UTF-8 +FancyIndexing +IgnoreCase +FoldersFirst +XHTML +HTMLTable +SuppressRules +SuppressDescription +NameWidth=* +IconsAreLinks + +# META VIEWPORT +IndexHeadInsert "" + +# HIDE /theme DIRECTORY +IndexIgnore .htaccess /theme + +# +# GENERAL ICONS (BLANK, DIRECTORY, PARENT DIRECTORY) +# + +# +# Replace redhat with your directory URL eg: +# If your directory is http://mywebsite.com/share/ +# you would change to: +# +# AddIcon /share/theme/icons/blank.png ^^BLANKICON^^ +# + +AddIcon /redhat/theme/icons/blank.png ^^BLANKICON^^ +AddIcon /redhat/theme/icons/folder.png ^^DIRECTORY^^ +AddIcon /redhat/theme/icons/folder-home.png .. + +AddIconByType (TXT,/redhat/theme/icons/text.png) text/* +AddIconByType (IMG,/redhat/theme/icons/image.png) image/* +AddIconByType (SND,/redhat/theme/icons/audio.png) audio/* +AddIconByType (VID,/redhat/theme/icons/video.png) video/* + +# +# EXTENSION SPECIFIC ICONS +# + +AddIcon /redhat/theme/icons/archive.png .7z .bz2 .cab .gz .tar +AddIcon /redhat/theme/icons/audio.png .aac .aif .aifc .aiff .ape .au .flac .iff .m4a .mid .mp3 .mpa .ra .wav .wma .f4a .f4b .oga .ogg .xm .it .s3m .mod +AddIcon /redhat/theme/icons/bin.png .bin .hex +AddIcon /redhat/theme/icons/bmp.png .bmp +AddIcon /redhat/theme/icons/c.png .c +AddIcon /redhat/theme/icons/calc.png .xlsx .xlsm .xltx .xltm .xlam .xlr .xls .csv +AddIcon /redhat/theme/icons/cd.png .iso +AddIcon /redhat/theme/icons/cpp.png .cpp +AddIcon /redhat/theme/icons/css.png .css .sass .scss +AddIcon /redhat/theme/icons/deb.png .deb +AddIcon /redhat/theme/icons/doc.png .doc .docx .docm .dot .dotx .dotm .log .msg .odt .pages .rtf .tex .wpd .wps +AddIcon /redhat/theme/icons/draw.png .svg .svgz +AddIcon /redhat/theme/icons/eps.png .ai .eps +AddIcon /redhat/theme/icons/exe.png .exe +AddIcon /redhat/theme/icons/gif.png .gif +AddIcon /redhat/theme/icons/h.png .h +AddIcon /redhat/theme/icons/html.png .html .xhtml .shtml .htm .URL .url +AddIcon /redhat/theme/icons/ico.png .ico +AddIcon /redhat/theme/icons/java.png .jar +AddIcon /redhat/theme/icons/jpg.png .jpg .jpeg .jpe +AddIcon /redhat/theme/icons/js.png .js .json +AddIcon /redhat/theme/icons/markdown.png .md +AddIcon /redhat/theme/icons/package.png .pkg .dmg +AddIcon /redhat/theme/icons/pdf.png .pdf +AddIcon /redhat/theme/icons/php.png .php .phtml +AddIcon /redhat/theme/icons/playlist.png .m3u .m3u8 .pls .pls8 +AddIcon /redhat/theme/icons/png.png .png +AddIcon /redhat/theme/icons/ps.png .ps +AddIcon /redhat/theme/icons/psd.png .psd +AddIcon /redhat/theme/icons/py.png .py +AddIcon /redhat/theme/icons/rar.png .rar +AddIcon /redhat/theme/icons/rb.png .rb +AddIcon /redhat/theme/icons/rpm.png .rpm +AddIcon /redhat/theme/icons/rss.png .rss +AddIcon /redhat/theme/icons/script.png .bat .cmd .sh +AddIcon /redhat/theme/icons/sql.png .sql +AddIcon /redhat/theme/icons/tiff.png .tiff .tif +AddIcon /redhat/theme/icons/text.png .txt .nfo .epub .mobi .azw +AddIcon /redhat/theme/icons/video.png .asf .asx .avi .flv .mkv .mov .mp4 .mpg .rm .srt .swf .vob .wmv .m4v .f4v .f4p .ogv +AddIcon /redhat/theme/icons/xml.png .xml +AddIcon /redhat/theme/icons/zip.png .zip +DefaultIcon /redhat/theme/icons/default.png + +# +# THEME FILES +# +HeaderName /redhat/theme/header.html +ReadmeName /redhat/theme/footer.html +IndexStyleSheet "/redhat/theme/style.css" + +# +# ERROR PAGES +# + +ErrorDocument 400 /redhat/theme/400.html +ErrorDocument 403 /redhat/theme/403.html +ErrorDocument 404 /redhat/theme/404.html +ErrorDocument 408 /redhat/theme/408.html +ErrorDocument 500 /redhat/theme/500.html +ErrorDocument 502 /redhat/theme/502.html + ErrorDocument 401 "/errors/401.html" + ErrorDocument 403 "/errors/403.html" + ErrorDocument 404 "/errors/404.html" diff --git a/localfs/var/srv/common/redhat/theme b/localfs/var/srv/common/redhat/theme new file mode 120000 index 0000000..bedc2f9 --- /dev/null +++ b/localfs/var/srv/common/redhat/theme @@ -0,0 +1 @@ +/var/www/apaxy/theme \ No newline at end of file -- cgit v1.2.3