Added PHP directory listing

This commit is contained in:
Matt Burchett
2013-12-31 11:31:21 -06:00
parent dcff67191b
commit ae5dcca69c
74 changed files with 3604 additions and 0 deletions

8
files/.htaccess Normal file
View File

@ -0,0 +1,8 @@
RewriteEngine on
RewriteCond %{REQUEST_URI} !/$
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^(.*) %{REQUEST_URI}/ [R=301,L]
RewriteCond %{REQUEST_FILENAME} -d [NC]
RewriteCond %{REQUEST_FILENAME} !-f [NC]
RewriteRule ^(.*)$ index.php?%{QUERY_STRING}&directory=$1&modrewrite=1 [QSA]