Re: Problems with an extra Rewrite Rule before a RewriteCond

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The R flag means redirect.  You want P for proxy if you want the URL to not change, but this brings with it a host of other issues.

Russ
Sent wirelessly via BlackBerry from T-Mobile.  

-----Original Message-----
From: "Vincent Bray" <noodlet@xxxxxxxxx>
Date: Wed, 30 May 2007 17:02:25 
To:users@xxxxxxxxxxxxxxxx
Subject: Re:  Problems with an extra Rewrite Rule before a RewriteCond

On 30/05/07, thomas Armstrong <tarmstrong@xxxxxxxxx> wrote:
>  Hi.
>
> I'm trying to create an additional Rewrite Rule appart from those
> created by default by my application (in this case, Wordpress). The
> extra line (within '.htaccess') is:
> -------
> RewriteRule ^faq index.php?page_id=119 [R,L]
> -------
>
> However, I want users see 'http://myblog.com/faq' and not
> 'http://myblog.com/index.php?page_id=379'. This line works with other
> Apache configurations, but not with mine. Any suggestion?

How exactly isn't is working? Do you see a loop? What does the error
log tell you? Are you able to edit the main server config file to
enable rewrite logging?

-- 
noodl

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux