Skip to content

DatDraggy/Apache-Directory-Listing

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Apache-Directory-Listing

'Apache Directory Listing' is a theme inspired from Apaxy which uses Apache's mod_autoindex module.
Edited by DatDraggy for usage without .htaccess

Usage

  • Download and copy directory-listing to /usr/share/apache2/
  • In /etc/apache2/apache2.conf add following at the bottom:
Alias "/directory-listing" "/usr/share/apache2/directory-listing"
<Directory /usr/share/apache2/directory-listing>
  Options -Indexes
  Order allow,deny
  allow from all
</Directory>
  • This will tell apache that http://your-domain.com/directory-listing is where the browser can find the files to generate the listing and that it's accessible.
  • Take a look at the autoindex.conf file and either edit yours (/etc/apache2/mods-available/autoindex.conf) or replace it with this one.
  • Enable the autoindex module: a2enmod autoindex

Themes

The theme is included with two css files for grid(grid.css) and normal(table.css) for table styled indexing.

Just change the IndexStyleSheet in autoindex.conf to either grid or table.

You can add your custom code in the header.html and footer.html.

Grid style:

grid

Table style:

table

Credits

Icons referenced from File Types Icons Set.

About

A directory listing theme for Apache server

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • CSS 85.1%
  • HTML 14.9%