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

    Logs Denied by SquidGuard in squid (log)

    Cache/Proxy
    3
    3
    3.2k
    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.
    • F
      foresthus
      last edited by

      Hi, I was wondering if someone had already tested the option on squid to get the deny logs from squidguard?

      Just not sure where to add the …

      $sge_prefix = (preg_match("/\?/", $cl['u']) ? "&" : "?");
      $str[] = ' <iframe>src="'. $cl['u'] . $sge_prefix . 'sgr=ACCESSDENIED" width="1" height="1" ></iframe> ';
      

      … not sure where to add it on the sgerror.php

      I could not find anything here in the forum.

      1 Reply Last reply Reply Quote 0
      • D
        Digital_ADHD
        last edited by

        I have searched, but has this been resolved? I don't know where to put this..

        $sge_prefix = (preg_match("/\?/", $cl['u']) ? "&" : "?");
        $str[] = '< iframe > src="'. $cl['u'] . $sge_prefix . 'sgr=ACCESSDENIED" width="1" height="1" > < /iframe >';
        
        1 Reply Last reply Reply Quote 0
        • F
          faustovianna
          last edited by

          @Digital_ADHD:

          I have searched, but has this been resolved? I don't know where to put this..

          $sge_prefix = (preg_match("/\?/", $cl['u']) ? "&" : "?");
          $str[] = '< iframe > src="'. $cl['u'] . $sge_prefix . 'sgr=ACCESSDENIED" width="1" height="1" > < /iframe >';
          

          I wanna know too!

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