Hey,
apart from the options like IMS mode etc.... (which indeed would be
nice features to add to squid), the cache host can be filled in by default *for the host running squid* at compile time, the port number is filled in by default to 3128:
after executing the ./configure script,
edit the Makefile in the src directory and uncomment the following:
HOST_OPT = # -DCACHEMGR_HOSTNAME="getfullhostname()"
to
HOST_OPT = -DCACHEMGR_HOSTNAME="getfullhostname()"
This works fine for us.
Cheers
Paul
---------------------------------------------------
email: pborgerm@sckcen.be
web: http://hades.sckcen.be
----------
From: Andreas Reeh[SMTP:A.Reeh@andromeda.wad.org]
Sent: 17 September 1996 13:58
To: squid-users@nlanr.net
Subject: suggestion for new cachemgr-feature
Hi,
could you please implement what you can read at
http://www.netcache.com/DOC/manager.html under "Using the Cache Manager" ?
>NOTE:The Cache Manager also allows you to set certain environment
>variables which will be filled in for you when you run
>the script. The procedure for doing this is to create a shell script
>which sets these variables and then executes cachemgr.cgi.
>Here is an example script which sets the CACHEMGR_HOSTNAME variable:
>
>#! /bin/csh
>
>setenv CACHEMGR_HOSTNAME www.yoursite.com
>setenv HARVEST_CACHED_PORT 3128
>
>exec ./cachemgr.cgi
I missed this since I changed from Cached to Squid!
Andreas
-- /------------------------------------------------------------------------\ / Andreas Reeh = a.reeh@wad.org * D-51545 Waldbroel * Germany * more info, \ / PGP public-key and geek-code at http://www.wad.org/users/andreas/ \ \------------------------------------------------------------------------/Received on Tue Sep 17 1996 - 07:25:50 MDT
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:33:01 MST