Options -Indexes

php_value date.timezone Europe/Moscow

DirectoryIndex index.php

#RemoveHandler .phtml .php3 .php4 .php5 .php6 .phps .cgi .pl .asp .aspx .shtml .shtm .fcgi .fpl .jsp .py
#AddType application/x-httpd-php-source .phtml .php3 .php4 .php5 .php6 .phps .cgi .pl .asp .aspx .shtml .shtm .fcgi .fpl .jsp .py

AddDefaultCharset UTF-8

#Upload files
php_value upload_max_filesize 100M
php_value post_max_size 100M
php_value max_execution_time 60

ErrorDocument 403 http://dnfile.ru/error/403/
ErrorDocument 500 http://dnfile.ru/error/500/

<IfModule mod_rewrite.c>
	RewriteEngine On
	RewriteBase /

	#
	#RewriteRule ^([0-9]+)$ /main/view/$1 [L,R]
	RewriteCond %{REQUEST_FILENAME} !-f
	RewriteCond %{REQUEST_FILENAME} !-d
	RewriteRule ^(.*)$ /index.php [L]
	#RewriteRule ^/main/view/([0-9]+)$ /$1 [L]
</IfModule>


