[prev in list] [next in list] [prev in thread] [next in thread] 

List:       apache-modperl
Subject:    $Files{..} won't work where <Files > will.
From:       Greg Wickham <G.Wickham () deakin ! edu ! au>
Date:       1999-02-28 7:17:06
[Download RAW message or body]


[ Apache/1.3.4 (Unix) mod_perl/1.18 mod_ssl/2.2.3 SSLeay/0.9.0b ]

In a httpd.conf <Perl> section I've defined:

] $Files{'*.pl'} = {
]        SetHandler => 'perl-script',
]        PerlHandler => 'Apache::Registry',
]        Options => '+ExecCGI'
]        };

However it is ineffective.
Immediately after the <Perl> section I can define:

] <Files *.pl>
] SetHandler perl-script
] PerlHandler Apache::Registry
] Options +ExecCGI
] </Files>

And everything works perfectly. Suggestions?

I've also noticed that the 'MOD_PERL' environment variable
passed to perl scripts is defined as 'mod_perl/1.17_01-dev'.

tia,

   -Greg

------------------------------------------------------------------
wheNufiNdu'RselFindAngeRwheNu'rThreAtenEdbyAstrAngeRwheNitlOoksLik

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic