Nick Duda wrote:
Doing a google search I cant find that directive, does it even exist? Do you 
mean cachemgr_passwd?

No, kinkie meant 'cachemgr_passwd'


If squidmgr_password does exist as a directive, what is it used for?

Without it 'squidclient mgr:menu' lists a few things like shutting down squid, displaying the config as 'hidden' and non-usable. When its used, the mgr:menu changes the relevant objects to 'protected' and you can use the password to run those commands using squidclient.

Amos

-----Original Message-----
From: Michael J. Perrone [mailto:[EMAIL PROTECTED]
Sent: Thursday, April 17, 2008 11:54 AM
To: Kinkie
Cc: Squid-users
Subject: RE: FW: [squid-users] Squid Problem

I could not find a squidmgr_password in our squid.conf file. I tried the
command omitting the -W switch. It asked for a WWW password. I tried a
few passwords, including the root password. No joy. I also tried
entering the following line at the end of our squid.conf file:

        squidmgr_password squid

I restarted the squid service and tried again. Again, no joy.

How do I (and what is the syntax) to add a password to the squid.conf
file? After I make the changes, I need to restart the service /
computer, correct?

Thanks,

Mike

-----Original Message-----
From: Kinkie [mailto:[EMAIL PROTECTED]
Sent: Wednesday, April 16, 2008 6:20 PM
To: Michael J. Perrone
Cc: Squid-users
Subject: Re: FW: [squid-users] Squid Problem

On Wed, Apr 16, 2008 at 7:33 PM, Michael J. Perrone
<[EMAIL PROTECTED]> wrote:
[...]
 when I type the command "squidclient mgr:info" this is
 the result...   Is this how I get to the cache manager DNS page (the
 machine is not running apache...)?

 [EMAIL PROTECTED] ~]# squidclient mgr:info
 client: ERROR: Cannot connect to localhost:3128: Connection refused

squidclient -h <host> -p <port> -U admin -W <squidmgr_password>
cache_object://<host>/<page>

where you have to replace the brackets with the relevant values. The
squidmgr_password can be found in your squid.conf file.

Please keep the list in Cc, so that others may jump in and help if they
wish to.
--
 /kinkie


--
Please use Squid 2.6.STABLE19 or 3.0.STABLE4

Reply via email to