Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- RewriteEngine on
- ##point to installation directory
- ##if it is the root dir,enter /
- ##else /otherdir
- RewriteBase /
- RewriteCond %{QUERY_STRING} ^d=([a-zA-Z0-9]{8})$
- RewriteRule ^$ download.php?id=%1
- RewriteCond %{QUERY_STRING} ^d=([a-zA-Z0-9]{12})$
- RewriteRule ^$ delete.php?id=%1
- RewriteRule ^file/([0-9]+)/(.*)$ download.php?id=$1&type=2 [L]
- RewriteRule ^top/([0-9]+)\.html$ top.php?s=$1&type=1 [L]
- <IfModule mod_security.c>
- # Turn off mod_security filtering.
- SecFilterEngine Off
- # The below probably isn't needed,
- # but better safe than sorry.
- SecFilterScanPOST Off
- </IfModule>
Add Comment
Please, Sign In to add comment