Search squid archive

Re: Squid

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On ons, 2008-06-18 at 10:05 -0700, aot2002 wrote:
> I have squid setup using a reverse proxy on port listening 21080
> squid redirects and gets info from my webserver to 21080 back to the user
> everything works except when i get a 302 redirect 
> 
> if i enter in the webbrowser http://MYIPADDRESS:21080/test/home.php it works
> fine
> http://MYIPADDRESS:21080/test/ it gets a 302 and redirects to an internal ip
> and internal port 80 which that server doesnt even use? thats wierd

That's sent by your web server, not Squid.. but may be based on Host
header information sent by Squid based on the defined defaultsite..

> http_port 21080 defaultsite=10.108.50.37 

The defaultsite should include the port number for best operation, and
additionally should be the external name the users connect to, not the
internal server address. The internal server address is defined by
cache_peer.

Regards
Henrik

Attachment: signature.asc
Description: This is a digitally signed message part


[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux