-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Phillip,

On 4/7/2009 5:38 PM, Phillip Pi wrote:
> OK, she said we need Tomcat because of PAC scripts to do the proxy auto 
> configurations.

I think she's still confused. Sorry if you already know all this, but
I'm new to proxy research and I'd never heard of a "PAC script". Here's
my reference: http://en.wikipedia.org/wiki/Proxy_auto-config

These scripts don't appear to have anything to do with Tomcat
specifically. Let me re-state this: Tomcat does not include any kind of
build-in proxying capability. You'd either have to write your own web
application to run in Tomcat and do the proxying (which is totally
stupid, because you'd be performing a /ton/ of work that is not
necessary just to then hand-off the request to another server) or use
someone else's existing application (equally stupid for the previously
stated reason).

You might want to read
http://homepages.tesco.net/J.deBoynePollard/FGA/web-browser-auto-proxy-configuration.html
for information on these scripts and ultimately how to use them.

> So, do I still need to do the Apache [web] server?

Maybe? If you want to do proxying, Apache httpd will get you closer than
Apache Tomcat, but I think there are better products out there for you
(see below). If you're still interested, you can read
http://httpd.apache.org/docs/2.2/mod/mod_proxy.html for everything
Apache httpd can do for you proxy-wise.

> If so, then can I put both Tomcat and Apache on one machine to act a
> server and another computer?

Uh... huh? Yes, you can install both Apache httpd and Apache Tomcat on
the same machine, but I'm not sure why you'd want both (or either)?

You might want to start with the information you can find on Wikipedia
about proxy servers (http://en.wikipedia.org/wiki/Proxy_server)
specifically the sections on "web proxy" and "proxy software". Instead
of trying to get httpd or Tomcat as a proxy server, why not use
something that was built specifically to act as a proxy (such as Squid).

> The reason for this that I need to test Internet (not Intranet) Web 
> pages through proxies.

You should be able to use any site on the Internet for this. Try
http://www.google.com/ or http://www.yougotrickrolled.com/

I hope all that helps,
- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAknbzJYACgkQ9CaO5/Lv0PBUAgCgqrlt0QHOWz/keX0z8/La+KQg
6oMAnAz+BKWMUBQ5SX7KtXyVXzLoLrHW
=KK6q
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to