From owner-freebsd-apache@FreeBSD.ORG Wed Jan 20 15:05:11 2010 Return-Path: Delivered-To: freebsd-apache@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5729610656B8 for ; Wed, 20 Jan 2010 15:05:11 +0000 (UTC) (envelope-from eugene@wdc.spb.ru) Received: from mail.wdc.spb.ru (mail.wdc.spb.ru [84.204.202.23]) by mx1.freebsd.org (Postfix) with ESMTP id 8B6A38FC77 for ; Wed, 20 Jan 2010 15:05:06 +0000 (UTC) Received: from mail.wdc.spb.ru (localhost [127.0.0.1]) by mail.wdc.spb.ru (Postfix) with ESMTP id DFB79D4FD7 for ; Wed, 20 Jan 2010 17:55:10 +0300 (MSK) Received: from [127.0.0.1] (bbs.wdc.intranet [10.200.4.248]) by mail.wdc.spb.ru (Postfix) with ESMTP id D5F60D4FD5 for ; Wed, 20 Jan 2010 17:55:10 +0300 (MSK) Message-ID: <4B57194E.2050501@wdc.spb.ru> Date: Wed, 20 Jan 2010 17:55:10 +0300 From: "Eugene V. Boontseff" Organization: =?UTF-8?B?0JrQkyDQp9GC0L4g0LTQtdC70LDRgtGMINCa0L7QvdGB0LDQuw==?= =?UTF-8?B?0YI=?= User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; ru; rv:1.9.1.5) Gecko/20091204 Thunderbird/3.0 MIME-Version: 1.0 To: freebsd-apache@freebsd.org X-Virus-Scanned: ClamAV using ClamSMTP Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Errors of mod_rewrite X-BeenThere: freebsd-apache@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Support of apache-related ports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Jan 2010 15:05:11 -0000 I'm testing the mod_rewrite modul on my server Apache/2.2.14, FreeBSD 7.2-RELEASE-p5. the quotation from httpd-vhosts.conf : ServerAdmin postmaster@spb.4dk DocumentRoot "/usr/local/www/eg1" ServerName eg1.spb.4dk AcceptPathInfo On AllowOverride FileInfo Options Order allow,deny Allow from all AllowOverride none Order allow,deny Allow from all php_admin_value mbstring.func_overload 7 ErrorLog "/var/log/httpd/eg1.error_log" CustomLog "/var/log/httpd/eg1.access_log" common cat cat /usr/local/www/eg1/gallery/gallery2/modules/rewrite/data/mod_rewrite/custom/.htaccess # Testing mod_rewrite full functionality Options +FollowSymLinks RewriteEngine On # Uncomment and edit this line as appropriate to reflect your Gallery installation. RewriteBase /usr/local/www/eg1/gallery/gallery2/modules/rewrite/data/mod_rewrite/custom RewriteRule Rewrite.txt Works.txt [L] cat /usr/local/www/eg1/gallery/gallery2/modules/rewrite/data/mod_rewrite/custom/Rewrite.txt FAIL_NO_REWRITE cat /usr/local/www/eg1/gallery/gallery2/modules/rewrite/data/mod_rewrite/custom/Works.txt Ok! Adressing in broser to the URL: http://eg1.spb.4dk/gallery/gallery2/modules/rewrite/data/mod_rewrite/custom/Rewrite.txt get the following failure report: Not Found The requested URL /usr/local/www/eg1/gallery/gallery2/modules/rewrite/data/mod_rewrite/custom/Works.txt was not found on this server. And in the log was written the following: [[Wed Jan 20 15:30:16 2010] [error] [client 10.200.4.248] File does not exist: /usr/local/www/eg1/usr ^^^???!!! Where a mistake could be? Eugene