Start a Chat Sales: 0800 862 0890 Client Area
Results 1 to 4 of 4

Thread: Directory watch and csf.fignore

  1. #1
    CarlHawkins is offline new member
    Join Date
    May 2010
    Posts
    7

    Default Directory watch and csf.fignore

    Hello everyone.
    I recently started to use Directory watch so that i could track changes on an account that had security issues.

    This is a great tool but can lead to a lot of emails with big reports as i found out

    the problem i am having with the site i am watching is that i am watching the public_html folder so i get a warning if a new file is placed there or if a file is edited in any way.

    for the most part on many sites we host this is ok as in general not much changes, but..

    the site i am watching now uses a cache folder also placed in the public_html folder so every time someone browses the site and simply looks at a page the cache folder is updated

    So i tried to configure the csf.fignore file so that lfd would monitor the public_html folder but exclude the cache folder.... but i cant get it to work

    the example shows this:

    /tmp/\.horde/.*

    i have tried this:

    /home/accountname/public_html/cache/
    /home/accountname/public_html/cache/*
    /home/accountname/public_html/cache/.*

    i want to exclude the folder cache from the directory watch including all files and sub folders inside, can anyone supply the correct format for me please?

    Kind Regards
    Carl

  2. #2
    whuk-cristiano is offline Moderator
    Join Date
    Mar 2009
    Posts
    100

    Default

    Hi Carl,

    I have configured csf.fignore to ignore the directories and files under the cache directory on your dedicated server.

    Do post here if you still receive such notifications.

    _______________
    Cristiano
    webhosting.uk.com

  3. #3
    CarlHawkins is offline new member
    Join Date
    May 2010
    Posts
    7

    Default

    Thanks for that

    I originally had these paths set:
    /home/someuser/public_html/cache/roktwittie-friends\.db
    /home/someuser/public_html/cache/roktwittie-status\.db

    am i right in thinking if i wanted to exclude only the above files then the format would be different ?

    I will also include the changes you have made as i looked lots of places to find out this...and failed

    /home/\accountname/\public_html/\cache\*

    so the above code placed in the csf.fignore area will exclude all the files and folders in the cache folder, thats great..

    how would i format a file to be ignored?

    /home/someuser/public_html/tmp/somefile.txt

    Kind Regards
    Carl

  4. #4
    whuk-cristiano is offline Moderator
    Join Date
    Mar 2009
    Posts
    100

    Default

    Hi,

    To exclude a specific file, define the file as below in csf.fignore.

    Code:
    /home/\someuser/\public_html/\tmp/\somefile\.txt
    Cristiano
    webhosting.uk.com

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Copyright 2001-2013 Web Hosting UK. All rights reserved.