# Disable listing of user files DirectoryIndex index.php Options -Indexes # Disable php in userfiles directory (recommended!!!!) RemoveType php php_flag engine 0 php_flag engine 0 # GET requests only Order Allow,Deny # This file MUST be in the user files directory in order for bandwidth tracking to work. # Bandwidth tracking requires your server to have the mod_rewrite module enabled. If you do not have it, # you will probably get some Internal Server Error messages. # To disable bandwidth tracking, comment out the lines below that start with Rewrite...or delete everything from here (this line). # The file.php path MUST be correct in order for bandwidth tracking to work correctly. # You can use either relative or absolute path. If none works try entering the FULL url # to file.php as in this example below: # EXAMPLE ONLY: RewriteRule ^([0-9]+)/(.+)$ http://celerondude.com/uploaderv6/file.php?userid=$1&file=$2 [L,NC] # Turn on mod_rewrite RewriteEngine On # Edit the path to tracker in the line below (the default setting should work # unless you've changed the path to the userfiles directory. RewriteRule ^([0-9]+)/(.+)$ ../file.php?userid=$1&file=$2 [L,NC] # This is the default value in case you messed up and forgot what it looks like. # DO NOT change this, copy it to another line, uncomment it and edit it there so you'll always have this. # DEFAULT CONFIG: RewriteRule ^([0-9]+)/(.+)$ ../file.php?userid=$1&file=$2 [L,NC]