diff options
author | H. P. <harald.p.@xmart.de> | 2018-11-01 13:30:58 +0100 |
---|---|---|
committer | H. P. <harald.p.@xmart.de> | 2018-11-01 13:30:58 +0100 |
commit | 0632591996893fe136a1f2fe44d9b9f404f41f3e (patch) | |
tree | 7340edbe7c212da3db45a83219147143a3268c8d /localfs/var/srv/common/public/.htaccess | |
download | fedora-laptop-0632591996893fe136a1f2fe44d9b9f404f41f3e.tar.bz2 |
Initial commit
Diffstat (limited to 'localfs/var/srv/common/public/.htaccess')
-rw-r--r-- | localfs/var/srv/common/public/.htaccess | 107 |
1 files changed, 107 insertions, 0 deletions
diff --git a/localfs/var/srv/common/public/.htaccess b/localfs/var/srv/common/public/.htaccess new file mode 100644 index 0000000..4f1fa7f --- /dev/null +++ b/localfs/var/srv/common/public/.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 "<meta name=\"viewport\" content=\"width=device-width, initial-scale=1\" />" + +# HIDE /theme DIRECTORY +IndexIgnore .htaccess /theme + +# +# GENERAL ICONS (BLANK, DIRECTORY, PARENT DIRECTORY) +# + +# +# Replace dump_hpe 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 /dump/theme/icons/blank.png ^^BLANKICON^^ +AddIcon /dump/theme/icons/folder.png ^^DIRECTORY^^ +AddIcon /dump/theme/icons/folder-home.png .. + +AddIconByType (TXT,/dump/theme/icons/text.png) text/* +AddIconByType (IMG,/dump/theme/icons/image.png) image/* +AddIconByType (SND,/dump/theme/icons/audio.png) audio/* +AddIconByType (VID,/dump/theme/icons/video.png) video/* + +# +# EXTENSION SPECIFIC ICONS +# + +AddIcon /dump/theme/icons/archive.png .7z .bz2 .cab .gz .tar +AddIcon /dump/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 /dump/theme/icons/bin.png .bin .hex +AddIcon /dump/theme/icons/bmp.png .bmp +AddIcon /dump/theme/icons/c.png .c +AddIcon /dump/theme/icons/calc.png .xlsx .xlsm .xltx .xltm .xlam .xlr .xls .csv +AddIcon /dump/theme/icons/cd.png .iso +AddIcon /dump/theme/icons/cpp.png .cpp +AddIcon /dump/theme/icons/css.png .css .sass .scss +AddIcon /dump/theme/icons/deb.png .deb +AddIcon /dump/theme/icons/doc.png .doc .docx .docm .dot .dotx .dotm .log .msg .odt .pages .rtf .tex .wpd .wps +AddIcon /dump/theme/icons/draw.png .svg .svgz +AddIcon /dump/theme/icons/eps.png .ai .eps +AddIcon /dump/theme/icons/exe.png .exe +AddIcon /dump/theme/icons/gif.png .gif +AddIcon /dump/theme/icons/h.png .h +AddIcon /dump/theme/icons/html.png .html .xhtml .shtml .htm .URL .url +AddIcon /dump/theme/icons/ico.png .ico +AddIcon /dump/theme/icons/java.png .jar +AddIcon /dump/theme/icons/jpg.png .jpg .jpeg .jpe +AddIcon /dump/theme/icons/js.png .js .json +AddIcon /dump/theme/icons/markdown.png .md +AddIcon /dump/theme/icons/package.png .pkg .dmg +AddIcon /dump/theme/icons/pdf.png .pdf +AddIcon /dump/theme/icons/php.png .php .phtml +AddIcon /dump/theme/icons/playlist.png .m3u .m3u8 .pls .pls8 +AddIcon /dump/theme/icons/png.png .png +AddIcon /dump/theme/icons/ps.png .ps +AddIcon /dump/theme/icons/psd.png .psd +AddIcon /dump/theme/icons/py.png .py +AddIcon /dump/theme/icons/rar.png .rar +AddIcon /dump/theme/icons/rb.png .rb +AddIcon /dump/theme/icons/rpm.png .rpm +AddIcon /dump/theme/icons/rss.png .rss +AddIcon /dump/theme/icons/script.png .bat .cmd .sh +AddIcon /dump/theme/icons/sql.png .sql +AddIcon /dump/theme/icons/tiff.png .tiff .tif +AddIcon /dump/theme/icons/text.png .txt .nfo .epub .mobi .azw +AddIcon /dump/theme/icons/video.png .asf .asx .avi .flv .mkv .mov .mp4 .mpg .rm .srt .swf .vob .wmv .m4v .f4v .f4p .ogv +AddIcon /dump/theme/icons/xml.png .xml +AddIcon /dump/theme/icons/zip.png .zip +DefaultIcon /dump/theme/icons/default.png + +# +# THEME FILES +# +HeaderName /dump/theme/header.html +ReadmeName /dump/theme/footer.html +IndexStyleSheet "/dump/theme/style.css" + +# +# ERROR PAGES +# + +ErrorDocument 400 /dump/theme/400.html +ErrorDocument 403 /dump/theme/403.html +ErrorDocument 404 /dump/theme/404.html +ErrorDocument 408 /dump/theme/408.html +ErrorDocument 500 /dump/theme/500.html +ErrorDocument 502 /dump/theme/502.html + ErrorDocument 401 "/errors/401.html" + ErrorDocument 403 "/errors/403.html" + ErrorDocument 404 "/errors/404.html" |