home-work/vovremya/master/.htaccess
##
# @version $Id: htaccess.txt 14401 2010-01-26 14:10:00Z louis $
# @package Joomla RE
# @localized ��������� ����� (C) 2005 - 2010 Joom.Ru - ������� ��� Joomla! ��� ����� ��������.
# @copyright Copyright (C) 2005 - 2010 Open Source Matters. All rights reserved.
# @license http://www.gnu.org/copyleft/gpl.html GNU/GPL
# Joomla! - ��������� ����������� �����������.
# ��������� ��������� ����� ����� - 01.05.2010
##
# ��������� ��������� ����� �� ���������. ��� �������������, ���������������.
# ������ ������ �������� � "������������" � ��������� TinyMCE � ������ �������� ��� ���������
# �� ������� � ��������� �������� � ������ ����������� ����������. ��� �� 99,9% ���������� �������.
# ����� �������������� ����� ����� htaccess.txt � .htaccess �������� �������.
# ���� �������� �������� - ����������� ���������� ����������� (�������� ����������� �������������).
AddDefaultCharset utf-8
# ��������� ������ - ������� ��������� ��������� PHP
# ��� ������� ������������ ��������� ����������� Joomla.
# ���������������� (������ ����������� - #) ������ ������,
# ���� ��������� ������ ����� �� ������������� �������������
# ��������� ���������� Joomla.
# ��� ������������� 500 ������ �������, ��������������� ������, ����������
# ������, ��� ��� ������ � php_flag.
# php_flag register_globals Off
php_flag display_errors Off
# php_flag file_uploads On
# php_flag allow_url_fopen off
# php_flag magic_quotes_gpc On
# php_flag magic_quotes_runtime Off
# ������ ������ �������� �������� ��� ������ ������:
# ��� Windows - c:/temp
# ��� UNIX - /tmp
# ��������� ������� ������ ��������� ������������ � ���� �������� ��� ������
# ��� �������������, ���������������� ������ ���� ����
# php_value session.save_path c:/temp
#####################################################
# �������� ���������, ���� ������ ������������ ���� ����
#
# ������ ���� ����� �������: 'Options +FollowSymLinks' ����� ������� ��������
# ��� ��������� ������������� �������. ��� ���������� ��� ������������� ������
# Apache mod_rewrite, �� ����� ���� ��� ��������� ��������������� ������
# ������� � ��������� ����� ��������� � .htaccess ����� ���� ���������.
# ���� ��� ��������� �������� ������ �������, �� ��������������� ������
# (�������� ������ # � ������ ������), ������������� � �������� ���� �
# ������������� ������ SEF-������. ���� ��� ��������, �� ��� �� ���� ������
# ������ �����, �.�. �� ��� ��������� ��������������� �������.
#
# ������, ������� ����� ���������������� (� ������������) ����� ������ ���� #.
# ������ � ����� ��������� ## ����������������� �� ����. � ��������, ������� ��
# �� �����������, ��� ������ ������ ���������� � ������� #
#
#####################################################
## ����� ���� ����������������, ���� �������� ������ �������. �������� ���������� ����.
Options +FollowSymLinks
#
# ��������� mod_rewrite
RewriteEngine On
########## ������ - ������� ��������� �������� ��� ���������� ���������������� ����������
## ���� � ��� �������� �������� � ����� ������, ����������� ���� ��������� ��������
## ��� �������� ������������� ����� ���������������� ��������� Joomla!
#
## ��� ������� ������� � xml-������ ���������� (���������������� ��� ���������)
#<Files ~ ".xml$">
#Order allow,deny
#Deny from all
#Satisfy all
#</Files>
## ����� ���� ������� ������� � xml-������
# ����������� ����� ������, ���������� ���������� �������� mosConfig ����� URL
RewriteCond %{QUERY_STRING} mosConfig_[a-zA-Z_]{1,21}(=|%3D) [OR]
# ����������� ����� ������, ���������� ��������� base64_encode ����� URL
RewriteCond %{QUERY_STRING} base64_encode.*(.*) [OR]
# ����������� ����� ������, ���������� ��� <script> � URL
RewriteCond %{QUERY_STRING} (<|%3C).*script.*(>|%3E) [NC,OR]
# ����������� ����� ������, ���������� ���������� �������� ���������� ���������� PHP ����� URL
RewriteCond %{QUERY_STRING} GLOBALS(=|[|%[0-9A-Z]{0,2}) [OR]
# ����������� ����� ������, ���������� �������� _REQUEST ���������� ����� URL
RewriteCond %{QUERY_STRING} _REQUEST(=|[|%[0-9A-Z]{0,2})
# �������������� ��������������� ������� �� �������� 403 � ������������ ��������!
RewriteRule ^(.*)$ index.php [F,L]
#
########## ����� ������ ��������� ��� ���������� ���������������� ����������
# ���������������� ��������� ������, ���� URL ������ web-�������
# �� ������� �������� � ����������� ������ ������.
# �������� ��� ������� Joomla (����������� "/" ��� ����������� ����� �������)
# RewriteBase /
########## ������ ������� SEF ���� Joomla!
#
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_URI} !^/index.php
RewriteCond %{REQUEST_URI} (/|.php|.html|.htm|.feed|.pdf|.raw|/[^.]*)$ [NC]
RewriteRule (.*) index.php
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization},L]
#
########## ����� ������� SEF ���� Joomla!
On Github License
Files