Hi!
I am experiencing an issue with LS Enterprise 4.0.3, symlinks and AWStats. More specifically, as Plesk Panel structures its statistics directory, you will see below:
that symlink owners match. But when I try to access the statistics page from http://xxx/webstat I get an access forbidden along with this log message:
2009-05-04 07:38:07.830 [INFO] [xx.xx.xx.xx:1172-0#APVH_xxx:80] Found symbolic link, or owner of symbolic link and link target does not match for path [/var/www/vhosts/xxx/statistics/webstat/current/index.html], access denied.
This issue happens with all the hosted domains, and the only workaround is to define a vhost.conf (a la Plesk) with Options +FollowSymlinks inside, which is counterintuitive and must be done manually every time a domain is created.
Is there a solution to this issue?
I am experiencing an issue with LS Enterprise 4.0.3, symlinks and AWStats. More specifically, as Plesk Panel structures its statistics directory, you will see below:
Code:
ls -l /var/www/vhosts/xxx/statistics/webstat
drwxr-xr-x 2 root root 4096 May 4 03:17 2009-05
[...]
lrwxrwxrwx 1 root root 7 May 4 03:16 current -> 2009-05
-rwxr-xr-x 1 root psaserv 457 May 4 03:17 index.html
-rwxr-xr-x 1 root root 1119 May 4 03:17 nav.html
ls -l /var/www/vhosts/xxx/statistics/webstat/2009-05
total 360
[...]
-rw-r--r-- 1 root root 82593 May 4 03:16 awstats.xxx-http.html
lrwxrwxrwx 1 root root 34 May 4 03:17 index.html -> awstats.xxx-http.html
2009-05-04 07:38:07.830 [INFO] [xx.xx.xx.xx:1172-0#APVH_xxx:80] Found symbolic link, or owner of symbolic link and link target does not match for path [/var/www/vhosts/xxx/statistics/webstat/current/index.html], access denied.
This issue happens with all the hosted domains, and the only workaround is to define a vhost.conf (a la Plesk) with Options +FollowSymlinks inside, which is counterintuitive and must be done manually every time a domain is created.
Is there a solution to this issue?