Re: Problems with an extra Rewrite Rule before a RewriteCond

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

 



Thank you everybody.

However I'm still gettint the same odd effect. I tried:
RewriteRule ^faq index.php?page_id=119 [R,L] ---> it doesn't mask the URL
RewriteRule ^faq index.php?page_id=119 [R,TP] --> Internal server error
RewriteRule ^faq index.php?page_id=119 --> it's caught by index.php, I suppose

I also tried by editting it on 'httpd.conf':
RewriteRule http://myblog.com/faq http://myblog.com/index.php?page_id=119 [R,L]
..

But I'm not sure Apache is taking it into account. :(

On 5/30/07, Vincent Bray <noodlet@xxxxxxxxx> wrote:
On 30/05/07, Russ <rsivak@xxxxxxxxxxxxx> wrote:
> I'm a bit confused.  R means redirect, meaning the server sends the 301 or 302 header to the browser.  In either case, the browse will redirect to the new URL and that's what will show in the address bar.  How evactly do you make things redirect without proxying and without a change in the address bar?

Do as Joshua pointed out. First try without any flags at all, and in
case that doesn't work try with [PT].

I expect you won't need any flags.

--
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



---------------------------------------------------------------------
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