#
# Apache settings for rewriting URLs
#

# Add new languages here: __   place path to main folder here: __
#                           |                                    |
#                           V                                    V 
#     RewriteRule ^(en|ru|uz){1}(/([^~]*)[/]?(~(.*))?[/]?)?$ /irokez-0.7/?sys_lang=$1&path=$3&act=$5&%{QUERY_STRING}
#
#

Options +FollowSymLinks
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(([^~]*)[/]?(~(.*))?[/]?)?$ {%main-url%}?path=$2&act=$4 [QSA]



# Protect configuration files:
<Files ~ "\.(conf|sql)$">
  order deny,allow
  deny from all
</Files>
