Last active
November 6, 2018 17:18
-
-
Save AfroThundr3007730/1676ca7ef2a96aee5419af5e62d203f1 to your computer and use it in GitHub Desktop.
Modified from https://github.com/thinkawitch/apache-autoindex
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<Directory "/files/"> | |
IndexOptions Charset=UTF-8 DescriptionWidth=* HTMLTable FancyIndexing FoldersFirst IconsAreLinks IconHeight=16 IconWidth=16 IgnoreCase NameWidth=* SuppressHTMLPreamble SuppressRules XHTML VersionSort | |
IndexStyleSheet "/assets/css/bootstrap-4.1.3.min.css" | |
IndexOrderDefault Ascending Name | |
IndexIgnore .??* *~ *# HEADER* README* RCS CVS *,v *,t | |
HeaderName "/assets/html/HEADER.html" | |
ReadmeName "/assets/html/README.html" | |
Options Indexes SymlinksIfOwnerMatch | |
AllowOverride None | |
Require all granted | |
</Directory> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- / end of apache autoindex table --> | |
</div><!-- /.table-responsive --> | |
</div><!-- /.container --> | |
<script> | |
document.getElementsByTagName('table')[0].classList.add('table'); | |
e=document.createElement('h1');document.body.prepend(e); | |
e.appendChild(document.createTextNode(window.location.pathname)); | |
</script> | |
</body> | |
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="utf-8"> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<link href="/assets/css/bootstrap-4.1.3.min.css" rel="stylesheet"> | |
<style type="text/css">h1{text-align:center;padding:.5em}</style> | |
</head> | |
<body> | |
<div class="container"> | |
<div class="table-responsive"> | |
<!-- apache autoindex table --> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment