Skip to content

Instantly share code, notes, and snippets.

@thamognya
Created April 10, 2022 12:44
Show Gist options
  • Save thamognya/dfe5046b55365fea04b572180e2b900c to your computer and use it in GitHub Desktop.
Save thamognya/dfe5046b55365fea04b572180e2b900c to your computer and use it in GitHub Desktop.
.htaccess for directory indexing theme.
Options +Indexes
IndexOptions +FoldersFirst
IndexOptions +XHTML
IndexOptions +HTMLTable
IndexOptions +FancyIndexing
IndexOptions +SuppressRules
HeaderName header.html
ReadmeName footer.html
IndexIgnore header.html footer.html .htaccess
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment