Re: [squid-users] cachemgr.cgi just redirects me --solved
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 [EMAIL PROTECTED] To: Y Jones [EMAIL PROTECTED] CC: [EMAIL PROTECTED] 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 folderBut 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
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 [EMAIL PROTECTED] To: Y Jones [EMAIL PROTECTED] CC: [EMAIL PROTECTED] 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 folderBut 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
[squid-users] cachemgr.cgi just redirects me
I tried installing the cachemgr.cgi from a stable release, but it still just redirects me. I've carefully read and followed the directions in the FAQ for configuring apache. I don't think my httpd.conf file is the problem, though, since I get the login page. Any ideas on things to try would be appreciated. Thanks. I am running squid on port 80 and apache on port 81 like this: http_port 80 accel vport=81 When I visit http://localhost:81/cgi-bin/cachemgr.cgi I get Cache Host: Cache Port: Manager name: Password: I enter localhost and 80. When I click Continue... I am redirected to http://localhost:81/ and I don't get logged in. I've tried setting and unsetting cachemgr_passwd secret all I've tried various usernames. cachemgr.cgi/3.0-PRE3-20031002 Thanks for your help. _ Want to check if your PC is virus-infected? Get a FREE computer virus scan online from McAfee. http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963
[squid-users] cachemgr.cgi just redirects me
I upped the debugging level to 3 by editing the cachemgr.cc source code and recompiling squid. I also changed my httpd.conf a bit to allow directory indexing like so: Options Includes FollowSymLinks Indexes Now I get this in my apache error log when I try to get in: 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 folderBut 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. If anyone anywhere has any idea whatsoever pertaining to a possible solution, however remotely possible, please, please reply. Thanks in advance. I tried installing the cachemgr.cgi from a stable release, but it still just redirects me. I've carefully read and followed the directions in the FAQ for configuring apache. I don't think my httpd.conf file is the problem, though, since I get the login page. Any ideas on things to try would be appreciated. Thanks. I am running squid on port 80 and apache on port 81 like this: http_port 80 accel vport=81 When I visit http://localhost:81/cgi-bin/cachemgr.cgi I get Cache Host: Cache Port: Manager name: Password: I enter localhost and 80. When I click Continue... I am redirected to http://localhost:81/ and I don't get logged in. I've tried setting and unsetting cachemgr_passwd secret all I've tried various usernames. cachemgr.cgi/3.0-PRE3-20031002 Thanks for your help. _ Want to check if your PC is virus-infected? Get a FREE computer virus scan online from McAfee. http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963
Re: [squid-users] cachemgr.cgi just redirects me
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 folderBut 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
Re: [squid-users] cachemgr.cgi just redirects me
I've verified that my httpd.conf says: Listen 81 ..and my squid.conf says http_port 80 accel vport=81 squid and apache are running on the same machine. At any rate trying port 80 or 81 produces the same result. From: Henrik Nordstrom [EMAIL PROTECTED] To: Y Jones [EMAIL PROTECTED] CC: [EMAIL PROTECTED] 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 folderBut 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 _ Fretting that your Hotmail account may expire because you forgot to sign in enough? Get Hotmail Extra Storage today! http://join.msn.com/?PAGE=features/es
[squid-users] cachemgr.cgi just redirects me
I am running squid on port 80 and apache on port 81 like this: http_port 80 accel vport=81 When I visit http://localhost:81/cgi-bin/cachemgr.cgi I get Cache Host: Cache Port: Manager name: Password: I enter localhost and 80. When I click Continue... I am redirected to http://localhost:81/ and I don't get logged in. I've tried setting and unsetting cachemgr_passwd secret all I've tried various usernames. cachemgr.cgi/3.0-PRE3-20031002 Thanks for your help. _ Want to check if your PC is virus-infected? Get a FREE computer virus scan online from McAfee. http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963