Re: Trouble with mod_perl API: E.g., Apache2::Directive::conftree()

2014-05-15 Thread Worik Stanton
On 15/05/14 05:16, Perrin Harkins wrote: Hi Worik, Your ErrorLog question isn't really a mod_perl issue, but I'd suggest you check for warnings at startup. You may not have APACHE_LOG_DIR defined, etc. The ErrorLog issue only happens under mod_perl. Given that all logs were in the

Re: Trouble with mod_perl API: E.g., Apache2::Directive::conftree()

2014-05-14 Thread Perrin Harkins
Hi Worik, Your ErrorLog question isn't really a mod_perl issue, but I'd suggest you check for warnings at startup. You may not have APACHE_LOG_DIR defined, etc. I don't use Apache2::Directive, so I can't vouch for it. I prefer simpler things like PerlSetVar. There is an automated test for

Trouble with mod_perl API: E.g., Apache2::Directive::conftree()

2014-05-13 Thread Worik Stanton
I am having a lot of trouble with mod_perl APIs. The short of it is that when I say: use Apache2::Directive (); my $tree = Apache2::Directive::conftree(); my $documentroot = $tree-lookup('DocumentRoot'); warn \$documentroot '$documentroot'; I get: [Wed May 14 12:13:43 2014] -e: Use of