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

    About warning window of HAVP

    pfSense Packages
    4
    8
    4.4k
    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.
    • G
      gfengyoung
      last edited by

      I have setup the HAVP, and I got a testing
      a warning window appears, so it is working now!
      but how can i edit the warning window?
      thanks!

      HAVP.JPG
      HAVP.JPG_thumb

      1 Reply Last reply Reply Quote 0
      • G
        gfengyoung
        last edited by

        the templates files is in /usr/local/share/examples/havp/templates
        i have edit the havp.xml at /usr/local/pkg/, and add my local language code zh_cn, language section is at line 131
        then, create a zh_cn fold in templates fold, put my own  local *.html files

        it is now ok !
        thanks havp !

        1 Reply Last reply Reply Quote 0
        • B
          banobi
          last edited by

          Page virus.html (/usr/local/share/examples/havp/templates/en/virus.html) equal page squid error:

          Note: Change e-mail address and domain.

          
          <title>ERROR: The requested URL could not be retrieved</title>
          
          # ERROR
          
          ## The requested URL could not be retrieved
          
          * * *
          
          While trying to retrieve the URL: [](<!--url-->)
          
          The following error was encountered:
          
          *   **Access Denied. Virus was detected.**
          
          Your cache administrator is [admin@local.com](mailto:admin@local.com). 
          
          * * *
          
          <address>
          Generated  by local.com (HAVP)
          </address>
          
          
          1 Reply Last reply Reply Quote 0
          • R
            Roodawakening
            last edited by

            "The descent to hell is easy. The gates stand open day and night. But to reclimb the slope and escape to the upper air: This is labor."
            –Virgil, Aeneid, Book 6

            Rob

            1 Reply Last reply Reply Quote 0
            • T
              ToxIcon
              last edited by

              Roodawakening  love the access denied page can you provide me with instruction on how you did it thanks

              1 Reply Last reply Reply Quote 0
              • R
                Roodawakening
                last edited by

                Edit the virus.html file found at /usr/local/share/examples/havp/templates/en/

                Obviously, it's "just" HTML so you can get as fancy as you want, as long as the fonts you use are available to all computers on the LAN. As far as the graphic is concerned, I just searched through the millions of selections available at deviantart.com. Make sure all of the graphic files you use are properly linked to those specified in the HTML source code.

                Oh…and I used the freeware NVU (http://net2.com/nvu/)  as my HTML editor but any of them will do. If you're not familiar with HTML, you can create the page and the HTML editor will create the corresponding code. Then copy the code into the virus.html file, save it, and you're good to go.

                "The descent to hell is easy. The gates stand open day and night. But to reclimb the slope and escape to the upper air: This is labor."
                –Virgil, Aeneid, Book 6

                Rob

                1 Reply Last reply Reply Quote 0
                • T
                  ToxIcon
                  last edited by

                  I put the image in the /usr/local/share/examples/havp/templates/en/Stop.jpg  but The image wont load

                  I also would like to change the template that shows when squid blocks a page where is that located I have attach a file

                  havp.gif
                  havp.gif_thumb

                  1 Reply Last reply Reply Quote 0
                  • R
                    Roodawakening
                    last edited by

                    @ToxIcon:

                    I put the image in the /usr/local/share/examples/havp/templates/en/Stop.jpg   but The image wont load

                    I also would like to change the template that shows when squid blocks a page where is that located I have attach a file

                    I haven't played around with the Squid template so I don't know. But as far as HAVP is concerned, upload the graphic to a file-hosting site and link it directly using http://yourfilehere instead of file://yourfilehere.

                    "The descent to hell is easy. The gates stand open day and night. But to reclimb the slope and escape to the upper air: This is labor."
                    –Virgil, Aeneid, Book 6

                    Rob

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