From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: From: Serge To: ALT Linux Community Date: Thu, 5 Jul 2007 14:31:59 +0300 MIME-Version: 1.0 Content-Type: text/plain; charset="windows-1251" Content-Transfer-Encoding: 8bit Content-Disposition: inline Message-Id: <200707051431.59808.skompan@kspu.kr.ua> X-Virus-Scanned: amavisd-new at kspu.kr.ua Subject: [Comm] =?windows-1251?b?7eUg7+7k6uv+9+Dl8vH/IG1vZF9yZXdyaXRl?= X-BeenThere: community@lists.altlinux.org X-Mailman-Version: 2.1.9rc1 Precedence: list Reply-To: ALT Linux Community List-Id: ALT Linux Community List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 Jul 2007 11:32:07 -0000 Archived-At: List-Archive: List-Post: Здравствуйте! Дистрибутив Server 4.0 apache-common-1.3.37rusPL30.23-alt3 apache-mod_php-4.4.7-alt1 apache-1.3.37rusPL30.23-alt3 lightsquid-apache-1.7.1-alt1 создаю в директории /var/www/html/lightsquid файл .htaccess такого содержания RewriteEngine On RewriteCond %{SERVER_PORT} 80 RewriteRule ^(.*)$ https://my.site.org/$1 [R,L] AuthType Basic AuthName "Restricted Directory" AuthUserFile /etc/httpd/Admin/pass require user andy в httpd.conf подключил модуль mod_rewrite cat /etc/httpd/conf/httpd.conf|grep ^[^#\;]|grep mod_rewrite LoadModule rewrite_module modules/mod_rewrite.so делаю service httpd restart в логах получаю: Thu Jul 5 14:27:58 2007] [error] Cannot remove module mod_rewrite.c: not found in module list При заходе на страницу, в логах получаю ошибку Thu Jul 5 14:23:21 2007] [alert] [client 192.168.1.1] /var/www/html/lightsquid/.htaccess: Invalid command 'RewriteEngine', perhaps mis-spelled or defined by a module not included in the server configuration Почему модуль не подключается?