Re: [mod-security-users] Problem executing PHP script as filter action
Brought to you by:
victorhora,
zimmerletw
|
From: Ivan R. <iva...@gm...> - 2006-04-26 13:58:33
|
On 4/25/06, Tom Anderson <tan...@oa...> wrote: > David Brieck Jr. wrote: > > The file will execute from the command line, and it looks like it's > > processed in the audit log: > > > But I never get an email and the file is never written. Am I doing > > something wrong? > > Does it execute correctly from the command line if run as user "apache"? > That would be the first thing I would check. Likely a permissions issu= e. Also, can you try executing some other script that is not PHP? PHP has some built-in security "logic" (need I say that it's faulty?) that attempts to detect if it's run as a CGI script (and then stops executing if it does). If you increase the debug log level you might get more information about the execution. -- Ivan Ristic, Technical Director Thinking Stone, http://www.thinkingstone.com ModSecurity: Open source Web Application Firewall |