1.
I chrooted apache in standard way. There was no problem.
Then I used mod_security to chroot "normal" apache I set in httpd.conf
SecChrootDir /chroot/httpd
but Apache return error
no mysql.sock in /var/lib/mysql/mysql.sock
cant write to /tmp/ ...
The file mysql.sock exists and /tmp/ has 777 rights.
Where is the problem?
2.
Can I use mail() php function with mod_security chrooted apache?
It was major problem that I decided no tto use chrooted apache
3.
Additionaly I would like to test mod_security at all without chroot
I added this config to my httpd.conf
http://cvs.sourceforge.net/viewcvs.py/*checkout*/mod-security/mod_security/httpd.conf.example-full?content-type=text%2Fplain&rev=1.7
After restarting apache I cant logon with my authentication php script.
I use session().
How to resolve this.
Barti
|