Options -Indexes

DirectoryIndex /admin/index.php
#ErrorDocument 404 "Page Not Found"

RewriteEngine On
RewriteRule ^([a-zA-Z0-9]+)$ index.php?%{QUERY_STRING}&mod=$1 [L,QSA]
# lang
RewriteRule ^([a-z][a-z])/(.+)$ ../admin/$2?SITE_LANG=$1 [QSA]

#RewriteCond %{REQUEST_FILENAME} !-f
#RewriteCond %{REQUEST_FILENAME} !-d
#RewriteRule . index.php [L]