I've integrated Apache with Tomcat on numerous occasions, but never on IIS.
We have the following scenario:
1. We want to have a domain name - i.e. www.myresort.com - that is serviced
by IIS.
2. We want to map any requests to www.myresort.com to Tomcat's /myresort
application.
Is this possible?
Hi
I would like to write a servlet that intercepts http
requests, and optionally rebuilds and redirects
them to other (remote) servers.
but tomcat doesnt know how to send remote
httprequests, does it ?
so I guess I need to incorporate a httpclient
in my project. is that correct ? does anyone
Httpclient should work fine. Ideally, if you wish to have a tomcat servlet
act a proxy server, be sure you read the HTTP specs with respect to proxy
servers. There are many gotchas.
Before writing too much code and IF you are able to use apache, it would be
infinitely easier to use mod_proxy
wish to have a tomcat servlet act a proxy server,
be sure you read the HTTP specs with respect to proxy servers.
There are many gotchas.
I don't think I need to. Tomcat should behave as a plain
webserver. Behind the scenes it fetches his data from elsewhere
on the web. The client doesn't need to know
?
I'm afraid that's a little too restricted...
Ideally, if you wish to have a tomcat servlet act a proxy server,
be sure you read the HTTP specs with respect to proxy servers.
There are many gotchas.
I don't think I need to. Tomcat should behave as a plain
webserver. Behind the scenes it fetches his
Hi
I would like to write a servlet that intercepts http
requests, and optionally rebuilds and redirects
them to other (remote) servers.
Httpclient should work fine.
ehm .. which one ? the apache/commons ?
oops ... Jakarta Httpclient.
ok. but it's too restricted, it only supports some basic
to see the world.
My basic question is this: how do I tell Tomcat what it's proxy settings are
for the servlets that run inside of it?
I've tried adding -Dhttp.proxyHost and -Dhttp.proxyPort to the catalina.sh
file with no success
I've also googled and searched through the mail archives but I
have
to connect through to see the world.
My basic question is this: how do I tell Tomcat what it's proxy settings are
for the servlets that run inside of it?
I've tried adding -Dhttp.proxyHost and -Dhttp.proxyPort to the catalina.sh
file with no success
I've also googled and searched through
Subject: Re: Tomcat behind a proxy server
Have you tried setting these system properties by using
System.setProperty(...)
from within your servlet (for instance in a static initializer). Each
servlet runs
in the web app's sandbox, and maybe the properties were not propagated from
the main VM
Why would you want to use a Java Servlet Container
to do proxying? It's like
using a Space Shuttle to do door-to-door delivery.
If you need proxying, use
Squid or Apache.
The reason I have to do this is to make the best of a
rather brain dead product deployment. This is not a
long term
-Original Message-
From: ope [mailto:[EMAIL PROTECTED]]
Sent: Monday, August 19, 2002 12:38 PM
To: Tomcat Users List
Subject: Re: Using Tomcat as a proxy?
Why would you want to use a Java Servlet Container
to do proxying? It's like
using a Space Shuttle to do door
think
that writing a 'proxy' servlet will end up being the
quickest way to an end in this case.
--- Cox, Charlie [EMAIL PROTECTED] wrote:
-Original Message-
From: ope [mailto:[EMAIL PROTECTED]]
Sent: Monday, August 19, 2002 12:38 PM
To: Tomcat Users List
Subject: Re: Using Tomcat
ope wrote:
I am looking for a way to use Tomcat as a proxy
similar to the way that Apache can be setup to proxy
to Tomcat. What I want to do is have Tomcat setup so
that any URLs that have the path
http://myserver/someapp are forwarded to
http://otherserver/someapp.
Apache can do
I am trying to use Tomcat behind a SOCKS firewall. I have a servlet
that is trying to access information outside the application context and
I am getting the following exceptions
java.net.NoRouteToHostException: No route to host: connect
at
Hi All,
This is my first post so I apologize if this has already been covered. I am
trying to setup an Apache server running Tomcat behind a web proxy. After
our initial tests, it seems the web pages are being displayed but not the
JSP and Servlets. Can anyone explain any possible problems I
Hi
We have a HTTP application written in C and we now need to add https
support. I was thinking that we could use tomcat as a proxy to accept the
request on one side and forward it over https...
Any ideas on how we could do this? We could use apache using mod_proxy (I
think) but tomcat
Donie Kelly wrote:
We have a HTTP application written in C and we now need to add https
support. I was thinking that we could use tomcat as a proxy to accept the
request on one side and forward it over https...
Any ideas on how we could do this? We could use apache using mod_proxy (I
17 matches
Mail list logo