httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rajendra Rait <rajen...@ambrosiainfotech.com>
Subject [users@httpd] URL Redirect
Date Thu, 09 Aug 2007 09:49:19 GMT
  Hi,

I have Apache 2.2 and i am trying to implement apache redirect request 
to a JBoss server. Now wht's happening is that whenever some hits 
www.#*$!#*$!.com it very well gets redirected to the desired 
http://aaa.aaa.aaa.aaa:8080/website/home/home.jsp, 
<http://www.SearchEngineWorld.com/r/redirect.cgi?f=92&d=3417703&url=http://aaa.aaa.aaa.aaa:8080/website/home/home.jsp,>

but the thing is the whole 
http://aaa.aaa.aaa.aaa:8080/website/home/home.jsp 
<http://www.SearchEngineWorld.com/r/redirect.cgi?f=92&d=3417703&url=http://aaa.aaa.aaa.aaa:8080/website/home/home.jsp>

link is displayed instead of the URL www.#*$!#*$!.com

Is it possible to hide the whole IP and the contents and just display 
www.#*$!#*$!.com, while the user browses the site, here is my Virtual 
host directive.

<VirtualHost #*$!.#*$!.#*$!.#*$!:80>
ServerAdmin webmaster@#*$!#*$!.com
DocumentRoot "/var/www/html"
Options Indexes FollowSymLinks
ServerName www.#*$!#*$!.com
ErrorLog logs/#*$!#*$!.com-error_log
Redirect / http://aaa.aaa.aaa.aaa:8080/website/home/home.jsp 
<http://www.SearchEngineWorld.com/r/redirect.cgi?f=92&d=3417703&url=http://aaa.aaa.aaa.aaa:8080/website/home/home.jsp>


</VirtualHost>

Please let me something on how to achieve this.

Thanks.

Rajendra.


Mime
View raw message