cxs ignore directory (pdir) help
Posted: 23 Oct 2015, 16:09
I would like to ignore cache files in WordPress. For example:
'/home/username/public_html/wp-content/cache/wp-cache-46468fced3eda21852947cfe41900145.php'
Regular expression match = [\/proc\/self\/environ]
I have this in the /etc/cxs/cxs.ignore file and have confirmed that I have --ignore /etc/cxs/cxs.ignore enabled on cxscgi.sh, cxsftp.sh and cxswatch.sh
Is this the right way to do it?
pdir:.*/wp-content\/cache\/.*
or should it be:
pdir:^/wp-content\/cache\/.*
Can someone tell me whether I should be using ^ or .* at the beginning here?
Any other tips to properly match?
- Scott
'/home/username/public_html/wp-content/cache/wp-cache-46468fced3eda21852947cfe41900145.php'
Regular expression match = [\/proc\/self\/environ]
I have this in the /etc/cxs/cxs.ignore file and have confirmed that I have --ignore /etc/cxs/cxs.ignore enabled on cxscgi.sh, cxsftp.sh and cxswatch.sh
Is this the right way to do it?
pdir:.*/wp-content\/cache\/.*
or should it be:
pdir:^/wp-content\/cache\/.*
Can someone tell me whether I should be using ^ or .* at the beginning here?
Any other tips to properly match?
- Scott