File size: 1.2Kb
# by Pirate
# Configurations
php_value output_buffering 1
php_value error_reporting 7
php_value register_globals 0
php_value session.use_cookies 1
php_value session.use_trans_sid 1
php_value safe_mode_gid 1
php_value safe_mode_include_dir 1
php_value magic_quotes_gpc 0
php_value magic_quotes_runtime 0
php_value magic_quotes_sybase 0
php_value allow_url_fopen 0
php_value arg_separator.output "&"
DirectoryIndex index.php
AddDefaultCharset UTF-8
Options -Indexes
# ErrorDocuments
ErrorDocument 401 /errors.php?error=401
ErrorDocument 403 /errors.php?error=403
ErrorDocument 404 /errors.php?error=404
ErrorDocument 405 /errors.php?error=405
ErrorDocument 500 /errors.php?error=500
# Rewrite Configurations
# Wildcard DNS
RewriteEngine on
RewriteRule files/([a-z0-9]*)/([a-z0-9]*)/start/([0-9]*)?$ load/$1.php?dir=$2&start=$3
RewriteRule files/([a-z0-9]*)/([a-z0-9]*)/?$ load/$1.php?dir=$2
RewriteRule do/([a-z0-9]*)/?$ index.php?$1
RewriteRule in/([0-9]*)/?$ in.php?partner=$1
RewriteRule adv/([0-9]*)/?$ out.php?adv=$1
RewriteCond %{HTTP_HOST} ^([^\.]+)\.waplife\.us$ [NC]
RewriteCond %{HTTP_HOST} !^www\.waplife\.us$ [NC]
RewriteRule ^(.*)$ http://waplife.us/user.php?login=%1 [R,QSA]