'Apache Directory Listing' is a theme inspired from Apaxy which uses Apache's mod_autoindex
module.
Edited by DatDraggy for usage without .htaccess
- 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
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
.
Icons referenced from File Types Icons Set.