LinuxSA Mailing list archives

Index: [thread] [date] [subject] [author] [stats]
  From: Ant <fineales@ozemail.com.au>
  To  : jonathan soong <jon.soong@imvs.sa.gov.au>
  Date: 22 Jul 2003 14:39:34 +0930

Re: Any Squid experts?

On Tue, 2003-07-22 at 13:02, jonathan soong wrote:
> Hi everyone,
> 
> 
> Just had a problem i am tackling with squid.
> 
> We are using Squid in accelerator mode (reverse proxy) through an ssh 
> tunnel into an internal webserver.
> 
> Sometimes the internal webserver sends 301/302 responses saying: 
> "redirect to localmachine.localdomain".
> 
> The localmachine.localdomain is on our local network and can't be seen 
> from the Internet.
> 
> Is it possible to have Squid intercept the 301/302 responses and rewrite 
> them?
> 
> (Note this is not a normal redirect rewrite - which can be done when a 
> user *requests* a page and squid
> rewrites it to a new address. This is a rewriting a 301/302 *response).
> 
> Any ideas? greatly appreciated.

If your still having problems, check for traling / s on links to
directorys. I found that the rewriter that adds the / uses the wrong
name. This was some time ago though (redhat 6.2!).

Ant

-- 
LinuxSA WWW: http://www.linuxsa.org.au/ IRC: #linuxsa on irc.freenode.net
To unsubscribe from the LinuxSA list:
  mail linuxsa-request@linuxsa.org.au with "unsubscribe" as the subject


Index: [thread] [date] [subject] [author] [stats]
Return to the LinuxSA Mailing List Information Page