httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Russ" <rsi...@istandfor.com>
Subject Re: [users@httpd] Problems with an extra Rewrite Rule before a RewriteCond
Date Wed, 30 May 2007 16:11:33 GMT
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@gmail.com>
Date: Wed, 30 May 2007 17:02:25 
To:users@httpd.apache.org
Subject: Re: [users@httpd] Problems with an extra Rewrite Rule before a RewriteCond

On 30/05/07, thomas Armstrong <tarmstrong@gmail.com> 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@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Mime
View raw message