DefaultLanguage ru
AddDefaultCharset UTF-8

php_value display_errors 0
php_value error_reporting -1
php_value max_execution_time 180

php_value short_open_tag 1
php_value magic_quotes_gpc 0
php_value magic_quotes_runtime 0
php_value variables_order EGPCS
php_value session.use_only_cookies 1

php_value upload_max_filesize 300M
php_value post_max_size 400M

DirectoryIndex index.php

RemoveHandler .html .htm
AddType application/x-httpd-php .php .htm .html .phtml

RewriteEngine On

RewriteRule ^equipment_api$ $1equipment-api.php

RewriteCond %{HTTP_USER_AGENT} ^.*internal\ dummy\ connection.*$ [NC]
RewriteRule ^/$ /blank.html [L]

#Order allow,deny
#Allow from All
#Deny from 15.25.35.0/24

#AuthType Kerberos
#KrbAuthRealms AD.KVZRM.RU
##KrbServiceName HTTP/magnit.kvzrm.ru@AD.KVZRM.RU
#KrbServiceName Any
#Krb5Keytab /etc/apache2/magnit.keytab
#KrbMethodNegotiate on
#KrbMethodK5Passwd on

#AuthType Basic
#AuthName "By Invitation Only"
#AuthUserFile /var/www/magnit.kvzrm.ru/.htpasswd

#Deny from 192.168.0.0/24
#require valid-user
#Satisfy Any


