No description, website, or topics provided.
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
src
.editorconfig
.gitignore
composer.json
composer.lock
index.php
package.json
readme.md

readme.md

#LastAutoIndex

The last auto indexer (aka directory index) you will ever need.

LastAutoIndex is a completely customizable auto index, and is designed to replace Apache's pre-installed auto index. To start customizing, checkout the src/public/themes directory.

Download:
Download Latest Release   Download Bleeding Edge

Via Composer: composer require projectcleverweb/lastautoindex


Installation

Installation is very simple, all you need to do is disable any existing auto indexer, and add LastAutoIndex as a directory index.

If you downloaded the source code, you will need to first run composer install in the root of the source code directory.

NOTICE: The path to LastAutoIndex in your .htaccess (or similar) file must absolute from your servers document root

Requirements

  • The ablity to set the directory index
  • PHP 5.4 or later
  • Composer

Installing On Apache
Add the below code to your .htaccess file

Options -Indexes
DirectoryIndex index.php index.html index.htm /path/to/LastAutoIndex/index.php

Installing On Nginx
Add the below code to your nginx.conf file

autoindex off;
index index.php index.html index.htm /path/to/LastAutoIndex/index.php;

Installing On Lighttpd
Add the below code to your lighttpd.conf file

index-file.names += ( "index.php", "index.html", "index.htm", "/path/to/LastAutoIndex/index.php" )

Installing On Cherokee
Add the below code to your cherokee.conf file

vserver!1!directory_index = index.php,index.html,index.htm,/path/to/LastAutoIndex/index.php

Configuring

You can configure your installation by editing your src/config.php file

Contributing

Everyone is welcome to submit their own ideas, and it is my hope that you do. I especially encourage people to create & submit their own themes, as most people (myself included) enjoy having variety.

How to contribute

  1. Fork the repo on Github
  2. Make your changes
  3. Send a pull request to have your changes reviewed

Changelog

See the releases page on github

Screenshots

The standard index
standard directory index listing in LastAutoIndex

Filtering the current index filter the directory index listing in LastAutoIndex

Searching the current directory and its sub-directories Preforming a search in LastAutoIndex

Copyright & Licensing

Copyright © Nicholas Jordon 2015 - All Rights Reserved

Source-code License: MIT
Documentation License: CC BY NC SA
NOTICE: All included works (aka libraries) are licensed under the MIT license OR are compatible with the MIT License.

The LastAutoIndex documentation by Nicholas Jordon is licensed under the Creative Commons Attribution-ShareAlike 4.0 International License. To view a copy of this license, visit http://creativecommons.org/licenses/by-nc-sa/4.0/deed.en_US

The LastAutoIndex source code by Nicholas Jordon is licensed under the MIT License. To view a copy of this license, visit http://opensource.org/licenses/MIT

Third party works that may also be included with this work are also not subject to this work's copyright & license(s). Copyright & licensing of all included works are determined by their respective owners.