Return-Path: Delivered-To: apmail-httpd-users-archive@www.apache.org Received: (qmail 69792 invoked from network); 20 Jan 2011 20:24:42 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 20 Jan 2011 20:24:42 -0000 Received: (qmail 89821 invoked by uid 500); 20 Jan 2011 20:24:39 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 89774 invoked by uid 500); 20 Jan 2011 20:24:39 -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 89766 invoked by uid 99); 20 Jan 2011 20:24:39 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 20 Jan 2011 20:24:39 +0000 X-ASF-Spam-Status: No, hits=4.1 required=10.0 tests=SPF_SOFTFAIL,URI_OBFU_WWW X-Spam-Check-By: apache.org Received-SPF: softfail (nike.apache.org: transitioning domain of uxbod@splatnix.net does not designate 95.172.228.43 as permitted sender) Received: from [95.172.228.43] (HELO gateway.splatnix.net) (95.172.228.43) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 20 Jan 2011 20:24:33 +0000 Received: from office.splatnix.net (office.splatnix.net [192.168.1.100]) by gateway.splatnix.net (Postfix) with ESMTP id D67F2398831E for ; Thu, 20 Jan 2011 20:24:08 +0000 (GMT) Received: from office.splatnix.net (office.splatnix.net [192.168.1.100]) by office.splatnix.net (Postfix) with ESMTP id 1AC8030300FC for ; Thu, 20 Jan 2011 20:23:38 +0000 (GMT) Date: Thu, 20 Jan 2011 20:23:37 +0000 (GMT) From: "--[ UxBoD ]--" Reply-To: "--[ UxBoD ]--" To: users@httpd.apache.org Message-ID: <1545760011.596.1295555017873.JavaMail.root@office.splatnix.net> In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Originating-IP: [192.168.1.40] X-Mailer: Zimbra 6.0.10_GA_2692 (ZimbraWebClient - SAF3 (Linux)/6.0.10_GA_2692) X-SPLATNIX-MailScanner-Information: Please contact the ISP for more information X-SPLATNIX-MailScanner-ID: D67F2398831E.AF8EE X-SPLATNIX-MailScanner: Found to be clean X-SPLATNIX-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=-0.435, required 6, ALL_TRUSTED -1.00, BAYES_00 -1.90, T_RP_MATCHES_RCVD -0.01, URI_OBFU_WWW 2.48) X-SPLATNIX-MailScanner-From: uxbod@splatnix.net X-SPLATNIX-MailScanner-Watermark: 1296159849.5847@QJs6qxO2IYYLOvt7iD1N0A X-Virus-Checked: Checked by ClamAV on apache.org X-Old-Spam-Flag: NO Subject: Re: [users@httpd] mod_rewrite woes ----- Original Message ----- > On Thu, Jan 20, 2011 at 3:10 PM, --[ UxBoD ]-- > wrote: > > ----- Original Message ----- > >> Did you set RewriteEngine on? > >> > >> Where do you define your rules? If there's a VirtualHost handling > >> the > >> request, they need to be defined there. > > > > Hello Eric, > > > > Thank you for the response. Yes it is a virtual host and I am using > > the following directives for it: > > > > > > =C2=A0 =C2=A0ServerAdmin webmaster@somedomain.com > > =C2=A0 =C2=A0DocumentRoot "/www/somedomain.com" > > =C2=A0 =C2=A0 > > =C2=A0 =C2=A0 =C2=A0 =C2=A0AllowOverride All > > =C2=A0 =C2=A0 > > =C2=A0 =C2=A0ServerName www.somedomain.com > > =C2=A0 =C2=A0ServerAlias somedomain.com www.somedomain.co.uk somedomain= .co.uk > > =C2=A0 =C2=A0ErrorLog "logs/www.somedomain.com-error.log" > > =C2=A0 =C2=A0CustomLog "logs/www.somedomain.com-access.log" common > > > > > > I have hardened Apache though I did try changing the directives in > > httpd.conf for /www to have AllowOveride All as-well but to > > no-avail. It seems odd though that a normal re-direct is working > > fine. >=20 > Use the RewriteLog to debug. >=20 Any ideas Eric please ? 123.123.123.123 - - [20/Jan/2011:20:22:05 +0000] [www.somedomain.co.uk/sid#= 8893968][rid#b8b1640/initial] (1) [perdir /www/somedomain.com/] pass throug= h /www/somedomain.com/ 123.123.123.123 - - [20/Jan/2011:20:22:05 +0000] [www.somedomain.co.uk/sid#= 8893968][rid#b8f3e10/subreq] (1) [perdir /www/somedomain.com/] internal red= irect with /index.php [INTERNAL REDIRECT] 123.123.123.123 - - [20/Jan/2011:20:22:05 +0000] [www.somedomain.co.uk/sid#= 8893968][rid#b8f5e20/subreq] (1) [perdir /www/somedomain.com/] pass through= /www/somedomain.com/index.php --=20 Thanks, Phil --------------------------------------------------------------------- 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