On Thu, Dec 14, 2006 at 04:33:33PM +0530, [EMAIL PROTECTED] wrote: > I used following in my httpd.conf for error logging > > ErrorLog "|/bin/sh -c 'RUNTIME=/myruntime LD_LIBRARY_PATH=/myruntime/lib > /myruntime/bin/mylogger -k file -d /myruntime/logs -f error_log'" > > but this not working and httpd do not starts there are no logs about what > happened ,but the same thing works on Apache 2.0.53.Instead if I use > following everything goes fine and httpd starts up > > ErrorLog "|/myruntime/bin/mylogger -k file -d /myruntime/logs -f error_log'"
In 2.2 the ErrorLog value is passed directly as the argument for /bin/sh -c, so: ErrorLog "|RUNTIME=/blah /etc/etc" will execute /bin/sh -c 'RUNTIME=/blah /etc/etc'. joe
