Re: [mod-security-users] SecChrootDir - RH 8.0, Apache 2.0.40, an d PHP 4.2.2
Brought to you by:
victorhora,
zimmerletw
|
From: Ivan R. <iv...@we...> - 2004-01-19 22:16:41
|
>> In your PHP program, change the way you reference MySQL from >> 'localhost' to '127.0.0.1'. That will force the client libraries >> not to use the domain socket but use the TCP/IP socket instead. >> Consequently, the chroot will no longer be a problem. >> > Already had thought of that, and gave it a shot, but a whole slew of new > errors cropped up. I didn't, however, try '127.0.0.1' -- I tried the "real" > IP -- and thus my new errors because of MySQL security. The real IP would work too, but you would need to configure the MySQL to accept connections from that IP address/hostname. -- ModSecurity (http://www.modsecurity.org) [ Open source IDS for Web applications ] |