One File Uploader -- A simple PHP uploading script
This is a fork of rouji/single_php_filehost
File validation code adapted from php.net answer by CertaiN
HTTP Basic Auth code adapted from Gist by westonruter
Root Directory:
Options -FollowSymLinks -MultiViews -Indexes
AddDefaultCharset UTF-8
RewriteEngine On
RewriteCond "%{ENV:REDIRECT_STATUS}" "^$"
RewriteRule "^/?$" "index.php" [L,END]
RewriteRule "^(.+)$" "files/$1" [L,END]
Files Directory
Options -ExecCGI -FollowSymLinks -MultiViews -Indexes
php_flag engine off
SetHandler None
AddType text/plain .php .php5 .html .htm .cpp .c .h .sh .cmd .bat .jar