Hello

RewriteRule ^/test.php  /test2.php [R=301,L]

use this in ur redirection , it will redirect as you expected.

Sravan

On Tue, Sep 22, 2009 at 6:39 PM, howard chen <howac...@gmail.com> wrote:

> Hello,
>
> Consider rewrite rule as:
>
> RewriteRule ^/test.php  /test2.php [PT,L]
>
>
> So when I access it via http://www.example.com/test.php
>
>
> I want the field REQUEST_URI shown as test2.php, is it possible?
>
>
>
> THanks.
>
> ---------------------------------------------------------------------
> 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-unsubscr...@httpd.apache.org
>   "   from the digest: users-digest-unsubscr...@httpd.apache.org
> For additional commands, e-mail: users-h...@httpd.apache.org
>
>

Reply via email to