Return-Path: Delivered-To: apmail-httpd-users-archive@www.apache.org Received: (qmail 94514 invoked from network); 15 Nov 2008 19:48:07 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 15 Nov 2008 19:48:07 -0000 Received: (qmail 58997 invoked by uid 500); 15 Nov 2008 19:48:04 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 58980 invoked by uid 500); 15 Nov 2008 19:48:04 -0000 Mailing-List: contact users-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: users@httpd.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list users@httpd.apache.org Received: (qmail 58969 invoked by uid 99); 15 Nov 2008 19:48:04 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 15 Nov 2008 11:48:04 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of justinp@newmediagateway.com designates 216.205.154.94 as permitted sender) Received: from [216.205.154.94] (HELO nmgapps.newmediagateway.com) (216.205.154.94) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 15 Nov 2008 19:46:42 +0000 Received: from localhost (localhost.localdomain [127.0.0.1]) by nmgapps.newmediagateway.com (Postfix) with ESMTP id 3F50B708107 for ; Sat, 15 Nov 2008 13:47:26 -0600 (CST) X-Virus-Scanned: Debian amavisd-new at nmgapps.newmediagateway.com Received: from nmgapps.newmediagateway.com ([127.0.0.1]) by localhost (nmgapps.newmediagateway.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id N5qItfC79KyD for ; Sat, 15 Nov 2008 13:47:26 -0600 (CST) X-NMG-local: yes Received: from mx1.ad.newmediagateway.com (mx1.newmediagateway.com [10.205.154.91]) by nmgapps.newmediagateway.com (Postfix) with ESMTP id 22947708106 for ; Sat, 15 Nov 2008 13:47:26 -0600 (CST) Received: from taz ([71.170.158.217]) by mx1.ad.newmediagateway.com with Microsoft SMTPSVC(6.0.3790.1830); Sat, 15 Nov 2008 13:46:20 -0600 From: "Justin Pasher" To: References: <4D18382A12A9B64190E1AD825FB591F301392A1A@ucixw2.uci.cu> <491C502D.5050908@newmediagateway.com> <4D18382A12A9B64190E1AD825FB591F3013C9DE1@ucixw2.uci.cu> <491C7075.3020409@newmediagateway.com> <4D18382A12A9B64190E1AD825FB591F3013C9E77@ucixw2.uci.cu> <491C7860.8020607@newmediagateway.com> <4D18382A12A9B64190E1AD825FB591F3013C9EE1@ucixw2.uci.cu> <491C8FD7.4000906@newmediagateway.com> <4D18382A12A9B64190E1AD825FB591F301400D98@ucixw2.uci.cu> Date: Sat, 15 Nov 2008 13:47:19 -0600 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 In-Reply-To: <4D18382A12A9B64190E1AD825FB591F301400D98@ucixw2.uci.cu> Thread-Index: AclFz6M3au/hb1p5Q5+92N2h3h+WDQBZt0qwAAjGBMA= X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5579 X-OriginalArrivalTime: 15 Nov 2008 19:46:20.0453 (UTC) FILETIME=[D5182D50:01C9475A] X-Virus-Checked: Checked by ClamAV on apache.org Subject: RE: [users@httpd] Problems with .htaccess file > -----Original Message----- > From: Reynier Perez Mira [mailto:rperezm@uci.cu] > Sent: Saturday, November 15, 2008 9:30 AM > To: users@httpd.apache.org > Subject: RE: [users@httpd] Problems with .htaccess file > > Hi, sorry for this late but I was busy with some other things. Now answer > every one of yours questions: > > > What do you have DocumentRoot set to for this VirtualHost? > /var/www/webacula/html > > > In what > > directory is the .htaccess file located? > /var/www/webacula/html/.htaccess > > > In what directory is the > > index.php file for webacula located? > /var/www/webacula/html/index.php > > > Unless I'm misreading the logs (which is quite possible), your > > DocumentRoot appears to be /var/www/webacula/html and your .htaccess > > file appears to be in that same directory...? > > You doesn't misreading nothing and you're right both are in the same > directory Ahhh. There is the problem. You are setting the RewriteBase to /webacula from within /var/www/webacula/html (DocumentRoot), but that's not actually your RewriteBase (relative to the .htaccess file). You actually don't need a RewriteBase, because the files are not under /var/www/webacula/html/webacula. Use these rewrite rules: Inside /var/www/webacula/html/.htaccess: RewriteCond %{REQUEST_URI} !^/index\.php$ RewriteRule !\.(js|ico|gif|jpg|png|css)$ /index.php -- Justin Pasher --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See for more info. To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org " from the digest: users-digest-unsubscribe@httpd.apache.org For additional commands, e-mail: users-help@httpd.apache.org