Return-Path: Delivered-To: apmail-httpd-users-archive@www.apache.org Received: (qmail 96838 invoked from network); 15 Nov 2008 20:00:24 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 15 Nov 2008 20:00:24 -0000 Received: (qmail 69677 invoked by uid 500); 15 Nov 2008 20:00:21 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 69655 invoked by uid 500); 15 Nov 2008 20:00:21 -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 69644 invoked by uid 99); 15 Nov 2008 20:00:21 -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 12:00:21 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of rperezm@uci.cu designates 200.55.140.180 as permitted sender) Received: from [200.55.140.180] (HELO mx3.uci.cu) (200.55.140.180) by apache.org (qpsmtpd/0.29) with SMTP; Sat, 15 Nov 2008 19:59:00 +0000 Received: (qmail 28436 invoked by uid 507); 15 Nov 2008 19:58:38 -0000 Received: from 10.0.0.31 by ns3.uci.cu (envelope-from , uid 501) with qmail-scanner-2.01st (avp: 5.0.2.0. spamassassin: 3.0.6. perlscan: 2.01st. Clear:RC:1(10.0.0.31):. Processed in 0.594324 secs); 15 Nov 2008 19:58:38 -0000 Received: from unknown (HELO ucixw2.uci.cu) (10.0.0.31) by 0 with SMTP; 15 Nov 2008 19:58:38 -0000 x-mimeole: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Date: Sat, 15 Nov 2008 14:58:38 -0500 Message-ID: <4D18382A12A9B64190E1AD825FB591F301400F9D@ucixw2.uci.cu> In-Reply-To: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [users@httpd] Problems with .htaccess file Thread-Index: AclFz6M3au/hb1p5Q5+92N2h3h+WDQBZt0qwAAjGBMAAALgW0A== 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> From: "Reynier Perez Mira" To: X-Virus-Checked: Checked by ClamAV on apache.org Subject: RE: [users@httpd] Problems with .htaccess file Well I fix it setting RewriteBase to / not to /webacula. Anyway thanks = for your time Ing. Reynier P=E9rez Mira Direcci=F3n T=E9cnica IP=20 > -----Original Message----- > From: Justin Pasher [mailto:justinp@newmediagateway.com] > Sent: Saturday, November 15, 2008 2:47 PM > To: users@httpd.apache.org > Subject: RE: [users@httpd] Problems with .htaccess file >=20 > > -----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 >=20 > 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: >=20 > Inside /var/www/webacula/html/.htaccess: >=20 > RewriteCond %{REQUEST_URI} !^/index\.php$ > RewriteRule !\.(js|ico|gif|jpg|png|css)$ /index.php >=20 >=20 > -- > Justin Pasher >=20 >=20 > --------------------------------------------------------------------- > 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 --------------------------------------------------------------------- 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