|
Re: <perl> section: <Files> under <Directory> - whats wrong here?: msg#00290apache.mod-perl
Hi Stas, Thank you for your reply! It worked like a charm! I can't believe I didn't try that: %Directory vs. $Directory --- RTFM! Peter Stas Bekman <stas@stason. To: PVM@xxxxxxxxx org> cc: modperl@xxxxxxxxxxxxxxx Subject: Re: <perl> section: <Files> under <Directory> - whats wrong 07/30/2002 here? 10:17 AM Peter, there are two problems: 1. you misread the usage explanations It cannot be: $Directory = { } it must be: %Directory = (). Reread http://modperl.com:9000/book/chapters/ch8.html#Configuring_Apache_with_Perl again for the explanation. <snip> here is a workaround that should solve your problem: $Directory{'/usr/local/httpd/htdocs/capmon/'} = { FilesMatch => { '\.pl$' => { 'Options' => '+ExecCGI', 'SetHandler' => 'perl-script', 'PerlSendHeader' => 'On', 'PerlHandler' => 'Apache::Registry' }, }, }; |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: while - modperl 2.0/Apache 2.0: 00290, Stas Bekman |
|---|---|
| Next by Date: | Can you have mod_perl 1.26 with Apache 2.0.39?: 00290, Grant Cooper |
| Previous by Thread: | Re: <perl> section: <Files> under <Directory> - whats wrong here?i: 00290, Stas Bekman |
| Next by Thread: | Can you have mod_perl 1.26 with Apache 2.0.39?: 00290, Grant Cooper |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |