ErrorDocument 304 /?

ErrorDocument 400 /?

ErrorDocument 401 /?

ErrorDocument 403 /?

ErrorDocument 404 /?

ErrorDocument 406 /?

ErrorDocument 500 /?

ErrorDocument 502 /?


RewriteEngine on

#Uncomment the next line if you are using free host
#RewriteBase /

RewriteRule ^show/([^*]+)/([0-9]+)-([0-9]+).xhtml$ index.php?dir=$1&sort=$2&page=$3 [L]

RewriteRule ^view/load/([^*]+) file.php?p=1&sort=1&file=load/$1 [L]
RewriteRule ^show$ /?sort=1 [L]

RewriteRule ^dload/([^*]+) load.php?p=1&sort=1&file=$1 [L]

<Files ~ ".dat$|.htaccess$|.htpasswd$|config.php$|^func.php$">

Order allow,deny
Deny from All
Satisfy All
</Files>


<Limit GET POST>
Order allow,deny
Allow from all
</Limit>


DirectoryIndex index.php
