tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Luca Cicale" <>
Subject Re: [programmazione] Redirection
Date Sat, 16 Aug 2008 23:28:41 GMT
Using a servlet that read the file on the other server and write it in the 
response should be a good idea.
If you need more details I can provide, if you ask for.


From: "Ravi Sharma" <>
Sent: Friday, August 15, 2008 8:47 PM
To: "Tomcat Users List" <>
Subject: [programmazione] Redirection

> Hi,
> I have the following scenerio.
> I have a site which provide music online. Now for hosting the actual song 
> i
> have purchased another site with better band widthm but no tomcat.
> So my webserver(tomcat) is running on one server(say domain1) and files 
> are
> hosted on another (with different domain name say domain2, which anyone 
> can
> access using http).
> Now i have to put http://domain2/ on my site to access these 
> files.
> Now i can do something like that write a normal Servlet which receive song
> id and i forward it to appropriate link(http link to another site 
> domain2).
> but when someone start downloading they see that data is coming from
> domain2, i dont want user to see domain2, and also i can not do somethin
> like when user request any file first get it on to domain1 server and then
> provide it to user as it will be too much bandwidth wastage.
> So is there any way to do this using anything in apache,tomcat to hide
> domain2 from everyone.,
> Thanks,
> Ravi.

To start a new topic, e-mail:
To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message