/[genomes]/quickload/styling/htaccess-selfhost
ViewVC logotype

Contents of /quickload/styling/htaccess-selfhost

Parent Directory Parent Directory | Revision Log Revision Log


Revision 49 - (show annotations)
Thu Sep 27 15:32:16 2018 UTC (6 years, 1 month ago) by aloraine
File size: 1321 byte(s)
Add Strapdown js and css files for more user-friendly look in Web browsers
1 # Self-hosting Autoindex-Strapdown setup
2 # Assumes that Autoindex-strapdown is installed on host at /autoindex_strapdown/
3
4 # Apache Autoindex Directives
5 Options +Indexes
6 IndexOptions FancyIndexing HTMLTable SuppressRules
7 IndexOptions IconsAreLinks ScanHTMLTitles NameWidth=* DescriptionWidth=*
8
9 # Autoindex-Strapdown Directives
10 AddType text/plain .md
11 HeaderName HEADER.md
12 ReadmeName README.md
13
14 # Customize by setting theme and title
15 IndexHeadInsert "<script>conf = {theme: 'bootstrap', title: '', \
16 strapdown: '/autoindex_strapdown/strapdown/v/0.2/strapdown.js'};</script> \
17 <script src='/autoindex_strapdown/autoindex_strapdown.js'></script> \
18 <link rel='stylesheet' href='/autoindex_strapdown/autoindex_strapdown.css'>"
19
20 # Icons using Bootstrap's Glyphicon set
21 DefaultIcon /autoindex_strapdown/icons/glyphicon-file.svg
22 AddIcon /autoindex_strapdown/icons/blank.svg ^^BLANKICON^^
23 AddIcon /autoindex_strapdown/icons/glyphicon-folder-open.svg ^^DIRECTORY^^
24 AddIcon /autoindex_strapdown/icons/glyphicon-circle-arrow-up.svg ..
25 AddIconByType (TXT,/autoindex_strapdown/icons/glyphicon-file.svg) text/*
26 AddIconByType (IMG,/autoindex_strapdown/icons/glyphicon-picture.svg) image/*
27 AddIconByType (SND,/autoindex_strapdown/icons/glyphicon-music.svg) audio/*
28 AddIconByType (VID,/autoindex_strapdown/icons/glyphicon-film.svg) video/*

  ViewVC Help
Powered by ViewVC 1.1.26