httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "BipinDas-Gmail" <bipink...@gmail.com>
Subject [users@httpd] Rewrite Rule for hiding Destination URL ??
Date Wed, 10 Jun 2009 09:52:15 GMT
Hello All,

 

I need to rewrite the url http://123.dev.com to http://123.dev.com/profile

I have put the below code to my .htaccesss  that successfully worked....

# -------------------------------------------------------

rewritecond %{http_host} ^widgets\.cmdn\.com$
rewritecond %{request_uri} ^/$ 
rewriterule ^(.*)$ http://123.dev.com/profile
<http://widgets.cmdn.com/widgets> 

# --------------------------------------------------------
But I need to hide the destination URL ie http://123.dev.com/profile
<http://widgets.cmdn.com/widgets>  I only need to see the url
http://123.dev.com from my browser...

 

Is this possible ?

Any help on this is highly appreciated.

 

Greetings ....

BipinDas

+966543680643

 


Mime
View raw message