URL Redirect

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



 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.

begin:vcard
fn:Rajendra Rait
n:Rait;Rajendra
org:Ambrosia Infotech Ltd;Information Technology
adr:Andheri(East);;D-3136/39, Oberoi Garden Estates, Chandivalli,;Mumbai;Maharashtra;400072;India
email;internet:rajendra@xxxxxxxxxxxxxxxxxxxx
title:Senior Systems Administrator
tel;work:91 22 67170727
tel;fax:91 22 66924319
tel;home:91 22 25810427
tel;cell:91 9819330803
x-mozilla-html:TRUE
url:http://www.ambrosiainfotech.com
version:2.1
end:vcard


---------------------------------------------------------------------
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@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx

[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux