File Change Detection fails on symlinks
-
I have some Sites running on a Plesk-managed Debian 8 server. Plesk gathers the statistics like this:
- DocRoot: /var/www/vhosts/{domain}/httpdocs
- Stats: /var/www/vhosts/system/{domain}/statistics
i.e. the statistics are – correctly – outside the DocRoot. To enable simple access to them, I have added a symlink under ‘httpdocs’ to the ‘/var/www/vhosts/system/{domain}/statistics’ directory.
I do not want to have the statistics, which are regularly updated, checked for file changes.
BUT the SYMLINK is NOT SHOWN in iThemes Security ‘Files and Folders List’ on the left side. And when I add it manually to the right side, it is not respected, I’m getting errors like this in my PHP log:
[03-Dec-2016 07:34:31] WARNING: [pool annareeves.eu] child 14902 said into stderr: “NOTICE: PHP message: PHP Warning: is_dir(): open_basedir restriction in effect. File(domstat) is not within the allowed path(s): (/var/www/vhosts/{domain}/:/tmp/) in /var/www/vhosts/{domain}/httpdocs/wp-content/plugins/better-wp-security/core/modules/file-change/scanner.php on line 442”
- The topic ‘File Change Detection fails on symlinks’ is closed to new replies.