This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Manually edit url block list.

Under Web Security: > HTTP/S > URL Filtering,

I goofed on the formatting on the text file I used to import sites into the "Additional URLs/sites to block" list and need to wipe it and start all over. 

As there are many sites in the list deleting them is fairly slow and requires me to wait about 20-30 seconds after each click to go onto the next. Considering the amount if url's I have added from ( Blocking Unwanted Parasites with a Hosts File ) to the list this would take me ages so I would prefer to clear them via VI.

Can someone give me the correct path to this file via the command line so that I may clear it and start over?


This thread was automatically locked due to age.
  • A very polite bump to my thread in hopes that I get some advice, I would really like to wrap this issue up. [:D]

    Thanks!
  • The settings are not stored in a flat file (in older versions they were)... they are stored in a database.  YOur best bet, if you have Gold or Plat. Maintenance, is to start a case, if it's that much info--they can probably write / run a db script to clear it out.

    CTO, Convergent Information Security Solutions, LLC

    https://www.convergesecurity.com

    Advice given as posted on this forum does not construe a support relationship or other relationship with Convergent Information Security Solutions, LLC or its subsidiaries.  Use the advice given at your own risk.

  • jmet,
     
    do you have stored the URL list in the "default profile" (just directly under Websecurity -> HTTP/S -> URL Filtering -> Additional URLs/Sitres to block)  or are youre Blacklists located in one (or serveral) "filter actions" of your used proxy profiles?
     
    In the first case there is an easy way to delete the list completely, in the second case it´s rather difficult and you really should ask Astaro tech support.
  • jmet,
     
    do you have stored the URL list in the "default profile" (just directly under Websecurity -> HTTP/S -> URL Filtering -> Additional URLs/Sitres to block)  or are youre Blacklists located in one (or serveral) "filter actions" of your used proxy profiles?
     
    In the first case there is an easy way to delete the list completely, in the second case it´s rather difficult and you really should ask Astaro tech support.



    You are correct, I simply imported a list of sites into that box (Additional URLs/sites to block) as you described above.
  • in this case, you can completely delete the URL list by issunging the following command as root on the command line
     
     
    echo -e "RAW \n change_object('REF_DefaultHTTPCFFAction','url_list',['almostempty.com'])" | cc -batch 
     
     
    copy&paste this line _exactly_ like written down here!
    Don´t forget to create a backup (and download it to your PC) before_ doing this.
  • in this case, you can completely delete the URL list by issunging the following command as root on the command line
     
     
    
    echo -e "RAW \n change_object('REF_DefaultHTTPCFFAction','url_list',['almostempty.com'])" | cc -batch 
     
     
    copy&paste this line _exactly_ like written down here!
    Don´t forget to create a backup (and download it to your PC) before_ doing this.



    You are a gentleman and a scholar, thank you very much!!