Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Accessing cachemgr.cgi over https???

    Scheduled Pinned Locked Moved Cache/Proxy
    1 Posts 1 Posters 131 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • JonathanLeeJ
      JonathanLee
      last edited by

      Per another user

      @Netview

      Mar 1, 2009 at 1:55 AM

      I found out how I can use the cachemgr.cgi with squid:

      In the following howto the hostname of my pfsense is 'pfsense' and the IP is 10.0.0.1 (use your settings here):

      1. set the following link under '/usr/local/www':

      cd /usr/local/www
      ln -s /usr/local/libexec/squid/cachemgr.cgi cachemgr.cgi

      1. change '/usr/local/etc/squid/cachemgr.conf'

      This file controls which servers may be managed by

      the cachemgr.cgi script

      The file consists of one server per line on the format

      hostname:port description

      Specifying :port is optional. If not specified then

      the default proxy port is assumed. :* or :any matches

      any port on the target server.

      hostname is matched using shell filename matching, allowing

      * and other shell wildcards.

      pfsense
      3. change /usr/local/pkg/squid.inc

      Setup some default acls
      acl localhost src 127.0.0.1/255.255.255.255 to acl localhost src 10.0.0.1/255.255.255.255
      cachemgr_passwd disable offline_toggle reconfigure shutdown
      cachemgr_passwd none all

      Is it possible to get the the cache manger over https? I keep getting an error http requested per https

      Make sure to upvote

      1 Reply Last reply Reply Quote 0
      • First post
        Last post
      Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.