From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on sa.int.altlinux.org X-Spam-Level: X-Spam-Status: No, score=-0.4 required=5.0 tests=BAYES_00,SPF_PASS, TVD_SPACE_RATIO autolearn=no version=3.2.5 X-Yandex-TimeMark: 1244014999 X-Yandex-Spam: 1 X-Yandex-Front: smtp20 X-BornDate: 1217970000 X-Yandex-Karma: 0 X-Yandex-KarmaStatus: 0 X-MsgDayCount: 1 X-Comment: RFC 2476 MSA function at smtp20.yandex.ru logged sender identity as: alt-skeeper Message-ID: <4A262950.6070309@yandex.ru> Date: Wed, 03 Jun 2009 11:42:08 +0400 From: =?UTF-8?B?0JzQuNGF0LDQuNC7INCf0LDRgNGI0LjQvSDQsNC60LAgU0tlZXBlcg==?= User-Agent: Thunderbird 2.0.0.17 (X11/20080929) MIME-Version: 1.0 To: ALT Linux Community general discussions Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Subject: [Comm] apache2 htaccess RewriteEngine X-BeenThere: community@lists.altlinux.org X-Mailman-Version: 2.1.12 Precedence: list Reply-To: ALT Linux Community general discussions List-Id: ALT Linux Community general discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Jun 2009 07:43:40 -0000 Archived-At: List-Archive: List-Post: branch 4.1 apache2-httpd-prefork 2.2.8-alt1 Есть .htaccess такого вида: DirectoryIndex index.html index.php php_value magic_quotes_gpc 0 php_value magic_quotes_runtime 0 php_flag display_errors 1 php_value error_reporting 7 RewriteEngine on RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.+)$ index.php?%{QUERY_STRING} RewriteRule ^(.+)\.html$ index.php?%{QUERY_STRING} AddDefaultCharset UTF-8 Из-за него хост выдает Err 500. Первую и последнюю строчки воспринимает нормально, а вот на все остальное ругается. htaccess не мой и взят с работающего хоста. Подскажите в чем проблема. Заранее спасибо.