Re: [squid-users] redirection and/or header manipulation

From: Henrik Nordstrom <henrik@dont-contact.us>
Date: Wed, 15 Mar 2006 11:40:13 +0100

ons 2006-03-15 klockan 10:09 +0100 skrev Frans Haarman:

> 1. Some applications will change the URLs they return if certain
> headers are availible in the request. I was wondering
> if there is a method/program to add headers to request going to the
> accelerator hosts!

Only by diving into the source I am afraid. See httpBuildRequestHeader
in http.c.

> 2. I am also struggeling with Redirects. I tried setting up a simpel
> redirect program which redirects
> http:// requests to https:// requests. It does not seem to work
> properly.... I was wondering how
> others have done this...

What exacly are you trying to do?

Squid-2.5 (without the SSL update patch) does not know how to make SSL
connections to the backend servers. It can only terminate SSL
connections from the clients.

> 3. Setting up the whole SSL session takes alot more time then normal
> HTTP requests. Might this be because
> I am using a 'self signed' certificate ? Any other pointers for
> getting this faster ?

Self-signed certificates is certainly not the reason.

Are you sure it's the SSL session setup taking long and not something in
the returned page getting the browser confused?

Try fetching just the HTML with wget, and verify that all returned links
etc are correct...

Regards
Henrik

Received on Wed Mar 15 2006 - 03:40:18 MST

This archive was generated by hypermail pre-2.1.9 : Sat Apr 01 2006 - 12:00:04 MST