zEitEr
Super Moderator
mod_ruid2 does not deny "browsing" the server from its root "/" directory
+ Runtime tightening of open_basedir restrictions is now possible.
+ open_basedir is now PHP_INI_ALL
As of PHP 5.3.0 open_basedir can be tightened at run-time. This means that if open_basedir is set to /www/ in php.ini a script can tighten the configuration to /www/tmp/ at run-time with ini_set(). When listing several directories, you can use the PATH_SEPARATOR constant as a separator regardless of the operating system.
when should CB 2.0 and/or DA 1.40.2 should be expected...?CustomBuild 2.0 RC1 is ready and should be uploaded to DA servers this week. It includes mod_ruid2 support (mod_ruid2=yes/no in the options.conf file). However, the system will need to run DA 1.40.2 (or pre-release binaries) for it to work, because mod_ruid2 needs modified templates.
Possible the files have wrong permissions. Only the 2 lines you pasted we can't help you. Check log files etc.Just noticed it breaks mrtg.
Images no longer displayed.
chown -R root:root /var/www/html/mrtg
[Fri Feb 24 15:03:35 2012] [error] [client xx.xx.xx.xx] (13)Permission denied: file permissions deny server access: /var/www/html/mrtg/memory-day.png, referer: http://xx.xxxx.xx/mrtg/
Indeed, no files in the /var/www/html/ should be root:root but webapps:webapps, same as the HowTo.I got my mrtg dir webapps:webapps just as the other things in /var/www/html like phpmyadmin. The dir shouldn't need root as owner/group for mrtg to work; if it would run as root it can access it anyway and if its another user it doesn't make sense.
[Fri Feb 24 20:05:47 2012] [error] [client XX.xx.xx.xx] (13)Permission denied: file permissions deny server access: /var/www/html/mrtg/network-day.png, referer: http://xx.xx.xx/mrtg/network.html
-rw-r--r-- 1 root root 2,4K feb 24 22:20 /var/www/html/mrtg/network-day.png
Try this below, can you then open the image in your browser?Code:-rw-r--r-- 1 root root 2,4K feb 24 22:20 /var/www/html/mrtg/network-day.png
I hope you can give me a clue where to look.
Tested with a simple index.html and a .jpg and the moment the .jpg is owned by root perm. 644 the problem occurs.
chown webapps:webapps /var/www/html/mrtg/network-day.png