AddDefaultCharset utf-8
DirectoryIndex index.php

Options -Indexes

RewriteEngine On
RewriteRule ^categories/(.*)$ categories.php?kat=$1 [L,QSA]
RewriteRule ^view/(.*)$ view.php?video=$1 [L,QSA]
RewriteRule ^download/(.*)$ download.php?video=$1 [L,QSA]




ErrorDocument 404 "Not Found <br /><a href=/>Go back to main page</a>"
ErrorDocument 403 "Sorry can't allow you access today, 403 Status Codes Apache <br /><a href=/>Go back to main page</a>"
ErrorDocument 400 "Bad Request <br /><a href=/>Go back to main page</a>"
ErrorDocument 500 "Internal Server Error <br /><a href=/>Go back to main page</a>"

