Re: [squid-users] cachemgr.cgi just redirects me --solved

This is a discussion on Re: [squid-users] cachemgr.cgi just redirects me --solved within the Squid Users forums, part of the Web Server and Related Forums category; Actually this should not be required. Can you please open a Squid-3 bug report for this issue. Regards Henrik ...


Go Back   Usenet Forums > Web Server and Related Forums > Squid Users

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 11-04-2003
Henrik Nordstrom
 
Posts: n/a
Default Re: [squid-users] cachemgr.cgi just redirects me --solved

Actually this should not be required.

Can you please open a Squid-3 bug report for this issue.

Regards
Henrik

On Tue, 4 Nov 2003, Y Jones wrote:

> Thank you, Henrik, for your help. I think I now understand what I was doing
> wrong.
> I had a webserver on port 81 and squid on port 80, like so:
> http_port 80 vport=81
> cache_peer www.mywebserver.com parent 81 0 no-query default
> Since port 80 is just forwarding every request not in the cache to port 81,
> I needed
> to specify an additional port that wasn't an "accelerated" port for use by
> the
> cache manager. Everything worked when I added an additional http_port line
> like so:
> http_port 80 vport=81
> http_port 3128
> cache_peer www.mywebserver.com parent 81 0 no-query default
>
> Thanks again for the assistance.
>
>
> >From: Henrik Nordstrom <hno@squid-cache.org>
> >To: Y Jones <yeattsj@hotmail.com>
> >CC: squid-users@squid-cache.org
> >Subject: Re: [squid-users] cachemgr.cgi just redirects me
> >Date: Fri, 31 Oct 2003 23:16:17 +0100 (CET)
> >
> >On Fri, 31 Oct 2003, Y Jones wrote:
> >
> > > cmgr: encoding for pub...
> > > cmgr: got req: host: 'localhost' port: 80 uname: '' passwd: '' auth: ''
> > > oper: ''
> > > wrote request: 'GET cache_object://localhost/ HTTP/1.0
> > > Accept: */*
> > >
> > > '
> > > ...and I get to a page that says "Cache Manager menu for localhost:"
> > > and lists all the directories in my root web folder....But I still
> > > don't actually get the cache manager. Telnetting to
> > > localhost 80 and typing:
> > > GET cache_object://localhost/ HTTP/1.0
> > > gives me the same.

> >
> >
> >Then localhost:80 is your web server, not Squid.
> >
> >You need to give the address and port of your Squid proxy to cachemgr, not
> >the address and port of your web server (the server where cachemgr runs is
> >already known to cachemgr, what it does not know is which proxy you want
> >to manage)
> >
> >Regards
> >Henrik
> >

>
> __________________________________________________ _______________
> Crave some Miles Davis or Grateful Dead? Your old favorites are always
> playing on MSN Radio Plus. Trial month free!
> http://join.msn.com/?page=offers/premiumradio
>


Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 03:23 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0