Thanks for the help, added an appropriate logging message for items not found (needed
because we pipe error_log into an app which popups an alert on our displays each time
a line is added - useful and annoying in equal measures!)
Martin
On Fri, Sep 22, 2000 at 02:00:21PM +0100, G.W. Haywood wrote:
>
> Have a look around lines 44-56 of Apache/Registry.pm - I'm sure you'll
> see what you need there. That is if you've got mod_perl 1.24. Dunno if
> the line numbers are the same elsewhere. it goes like this...
>
> if (-r $filename && -s _) {
> if (-d _) {
> return DECLINED;
> }
> if (!($r->allow_options & OPT_EXECCGI)) {
> $r->log_reason("Options ExecCGI is off in this directory",
> $filename);
> return FORBIDDEN;
> }
> unless (-x _ or $Is_Win32) {
> $r->log_reason("file permissions deny server execution",
> $filename);
> return FORBIDDEN;
> }
>
>
> 73,
> Ged.