Skip to content
forked from tremby/index.php

Simple directory index script, targeting PHP 5.2

Notifications You must be signed in to change notification settings

7kazan/index.php

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 

Repository files navigation

index.php

This script is intended to be dropped in to a web server to give a simple directory index.

It targets PHP 5.2.

screenshot

Excluded files

Files starting with . and files called index.php are excluded from listings.

Automatically applying to subdirectories

On Apache servers, if overrides are allowed, it can apply also to child directories by adding a .htaccess file in the same directory as this script with the following contents:

DirectoryIndex /path/to/index.php

This path should start from the document root.

Icons

Icons are expected to be found in /usr/share/icons/gnome/32x32, which on Ubuntu comes from the package gnome-icon-theme. It's likely most or all GNOME icon themes follow the same naming scheme, so there are probably a lot of available drop-in replacements.

About

Simple directory index script, targeting PHP 5.2

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 100.0%