  php_flag display_errors on
  php_value error_reporting E_ALL
  php_value max_execution_time 60
  #Кодировка#
  AddDefaultCharset utf-8
  #Директория#
  DirectoryIndex index.php
  Options -Indexes
  RewriteEngine On
  #Реврайты flowap#
  RewriteRule ^down/?$ down/index.php [L,QSA]
  RewriteRule ^down/addfiles_import([0-9]*)/?$ down/index.php?act=addfiles_import&id=$1 [L,QSA]
  RewriteRule ^down/search?$ down/index.php?act=search [L,QSA]
  RewriteRule ^down/addfiles([0-9]*)/?$ down/index.php?act=addfiles&id=$1 [L,QSA]
  RewriteRule ^fl([0-9]*)/?$ down/index.php?act=file&id=$1 [L,QSA]
  RewriteRule ^fd([0-9]*)/?$ down/index.php?act=fd&id=$1 [L,QSA]
  RewriteRule ^code([0-9]*)/?$ /down/index.php?act=code&id=$1 [L,QSA]
  RewriteRule ^redfile([0-9]*)/?$ /down/index.php?act=redfile&id=$1 [L,QSA]
  RewriteRule ^down/adddir([0-9]*)/?$ down/index.php?act=adddir&id=$1 [L,QSA]
  RewriteRule ^sec/?$ lok/sec.php [L,QSA]
  RewriteRule ^kont/?$ lok/kont.php [L,QSA]
  RewriteRule ^cab/?$ lok/cab.php [L,QSA]
  
  RewriteCond %{REQUEST_FILENAME} !-f
  RewriteCond %{REQUEST_FILENAME} !-d
  
  AddOutputFilterByType DEFLATE text/html text/plain text/xml application/xml application/xhtml+xml text/javascript text/css application/x-javascript
  BrowserMatch ^Mozilla/4 gzip-only-text/html
  BrowserMatch ^Mozilla/4.0[678] no-gzip
  BrowserMatch bMSIE !no-gzip !gzip-only-text/html
  
  ErrorDocument 404 /lok/error.php