You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Mohamed Shafeen <sh...@sltnet.lk> on 2003/05/23 12:55:54 UTC
[users@httpd] Hiding the Redirected URL
Hi,
Im looking for a method to hide the re written URL & show the original
URL in the address box.
Eg:-
RewriteRule ^/Admin$ http://www.xxx.com/admin/html/xxx/xxx/xxx.jsp
[R]
Im redirecting the www.xxx.com/Admin to
http://www.xxx.com/admin/html/xxx/xxx/xxx.jsp
But in Address bar even after redirection the URL should be
www.xxx.com/Admin.
Is this possible? If possible may I know the way to do it pls ?
Regds
Shafeen
Re: [users@httpd] Hiding the Redirected URL
Posted by Joshua Slive <jo...@slive.ca>.
On Fri, 23 May 2003, Mohamed Shafeen wrote:
> Hi,
>
> Im looking for a method to hide the re written URL & show the original
> URL in the address box.
> RewriteRule ^/Admin$ http://www.xxx.com/admin/html/xxx/xxx/xxx.jsp
> [R]
[R] means "external redirect" which is exactly opposite of what you want.
If the two URLs are on the same server, then you can use something like
RewriteRule ^/Admin$ /admin/html/xxx/xxx/xxx.jsp
If they are not on the same server, then you will need to proxy the
request using the [P] flag.
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
Re: [users@httpd] Hiding the Redirected URL
Posted by WC -Sx- Jones <li...@insecurity.org>.
On Friday, May 23, 2003, at 06:55 AM, Mohamed Shafeen wrote:
> I’m looking for a method to hide the re written URL & show the
> original URL in the address box.
>
> RewriteRule^/Admin$ http://www.xxx.com/admin/html/xxx/xxx/xxx.jsp
> [R]
>
> I’m redirecting the www.xxx.com/Admin to
> http://www.xxx.com/admin/html/xxx/xxx/xxx.jsp
>
> But in Address bar even after redirection the URL should be
> www.xxx.com/Admin.
>
> Is this possible? If possible may I know the way to do it pls?
The answer is OT for this list; you will need to create a FRAMED "web
hop"... See
http://sneex.is.dreaming.org/ (a web hop to my domain.)
for an example of the FRAME code on how to do it...
Cheers! :)
http://insecurity.org/
_Sx____________________
('> iudicium ferat
//\ Have Computer -
v_/_ Will Hack...
\|/ ____ \|/
"@'/ .. \`@"
/_| \__/ |_\
\__U_/
---------------------------------------------------------------------
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