About warning window of HAVP



  • 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!




  • 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 !



  • 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>
    
    




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



  • 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.



  • 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




  • @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.


Log in to reply