Date: Wed, 20 Jan 2010 17:55:10 +0300 From: "Eugene V. Boontseff" <eugene@wdc.spb.ru> To: freebsd-apache@freebsd.org Subject: Errors of mod_rewrite Message-ID: <4B57194E.2050501@wdc.spb.ru>
next in thread | raw e-mail | index | archive | help
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 : <VirtualHost *:80> ServerAdmin postmaster@spb.4dk DocumentRoot "/usr/local/www/eg1" ServerName eg1.spb.4dk AcceptPathInfo On <Directory "/usr/local/www/eg1"> AllowOverride FileInfo Options Order allow,deny Allow from all </Directory> <Directory "/usr/local/www/egdata1"> AllowOverride none Order allow,deny Allow from all </Directory> php_admin_value mbstring.func_overload 7 ErrorLog "/var/log/httpd/eg1.error_log" CustomLog "/var/log/httpd/eg1.access_log" common </VirtualHost> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4B57194E.2050501>