httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joshua Slive <jos...@slive.ca>
Subject Re: rewrite Question
Date Mon, 19 Aug 2002 22:25:52 GMT

On Mon, 19 Aug 2002, Gilles Gros wrote:

> Hi,
>
> We are curretly using the rewrite engine.
> We are planning to change the way our URL are handled.
>
> We are struggling with the following :
>
> How can we rewrite : http://server.site.com/HELP/login.php?id=xxx to
> http://server.site.com/xxx/HELP/login.php?id=xxx

RewriteEngine On
RewriteRule ^/HELP/login.php /xxx/HELP/login.php

The query string should automatically get carried through.

This would probably work too:

Alias /HELP/login.php /xxx/HELP/login.php

Joshua.


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