[squid-users] How to see client IP behind a reverse proxy

2007-10-04 Thread Roland Rabben
I have a web application server that needs to be able to see the client
request IP address. But when I add a Squid as a reverse proxy in front
of my web server, my application only sees the IP of the reverse proxy.

Is there any way to configure Squid to expose client IP's to my web app?

Regards

Roland Rabben
Scala Inc.


[squid-users] Java Webstart problem

2007-03-19 Thread Roland Rabben
On my web server I have a Java Webstart application that starts using a
JNLP descriptor file. When I add Squid STABLE10 as a web accelerator in
front of my webserver (Apache Tomcat 5.5) I am not able to load the
webstart application.

The webstart application is a JAR file that is loaded by JAVA. The Java
console says it can't download the JAR file, but when I point my browser
to the JAR file it downloads just fine.

Is there limited support for JAVA in Squid STABLE10?

Roland


[squid-users] Need configuration advise

2007-03-12 Thread Roland Rabben
Hi

I would like to use Squid servers in my network for a couple of reasons
but I am having trouble making it all work together.

I have a central site with a webserver that needs acceleration, and I
have about 1000 external sites each with 10-50 clients that need a local
cache to save bandwidth.

The clients on my local sites are not web users, but an automated client
that downloads files based on rules.

My first goal is to set up the central HTTP Accelerator (reverse proxy)
to help out my webserver. The content is protected using Basic
Authentication. I have set up the accelerator using the following
configuration (Squid 2.6 Stable 10):

http_port 80 accel defaultsite=centralsquid.foo.bar
cache_peer webserver.foo.bar parent 80 0 no-query originserver
login=PASS
url_rewrite_host_header off
collapsed_forwarding on
acl port80 port 80
http_access allow port80

This seems to work just fine.

My second goal is to set up the proxy-cache at the local sites. My idea
was to configure this as a reverse proxy for the central accelerator. So
what I did was to configure this server much the same way as the central
accelerator, only I point the local squid at the central squid:

http_port 80 accel defaultsite=localsquid001.foo.bar
cache_peer centralsquid.foo.bar parent 80 0 no-query originserver
login=PASS
url_rewrite_host_header off
collapsed_forwarding on
acl port80 port 80
http_access allow port80

This does not work, and I am stuck. Any help would be greatly
appreciated!
Is it possible to pull this off?

Regards

Roland Rabben



[squid-users] Two levels of reverse proxy

2007-03-02 Thread Roland Rabben
I need to be able to set up two levels of reverse proxy (http
accelerators) but I need help with the configuration. I have no trouble
configuring just one reverse proxy, but if I try to put a reverse proxy
in front of the reverse proxy, I get into trouble.

I have several clients located at many sites all connecting to a central
origin server. I have a reverse proxy in front of the origin server to
speed up things. I also need a local cache near the clients. 

It looks like this; my client is pointed at squid.local.server, and I
need the requests to reach the orign server. I am also using collapsed
forwarding.


 +--+
 |Client|
 |  |
 +--+
 |
LAN
 |
 +--+
 |  squid.local.server  |
 |  |
 +--+
 |
  INTERNET
 |
 +--+
 |  squid.origin.server |
 |  |
 +--+
 |
LAN
 |
 +--+
 | origin.server|
 |  |
 +--+

Please advice on how to configure squid.local.server and
squid.origin.server.


Regards
Roland Rabben