Re: [mp2] Apache::PerlSections->dump gives no output at all.

[prev] [thread] [next] [Date index for 2004/10/28]

From: M.v.Buytene
Subject: Re: [mp2] Apache::PerlSections->dump gives no output at all.
Date: 20:29 on 28 Oct 2004
On 2004-10-28 17:34:23 +0200, "Philippe M. Chiasson" 
<gozer@xxxxxxxxx.xxx> said:

> 
> M.v.Buytene wrote:
>> I'm quit puzzled here....
>> 
>> I use mod_perl to perform some database lookups from my httpd.conf and 
>> build up all directives
>> and create all vhost's.
>> That part works ok, apache works with the vhosts like a charm.... 
>> but.... always a but... :)
> 
> How exactly do you build and create all these vhosts ? Can you post
> a sample of it?

When my debugging works i will post a complete document.

> 
>> When i use the Apache::PerlSections->dump(); i only see
>> 
>> 1;
>> __END__
> 
> My best guess for now is that you forgot to set
> 
> $Apache::PerlSections::Save = 1;
> 
> in your <Perl> blocks. See
> http://perl.apache.org/docs/2.0/api/Apache/PerlSections.html#C__Apache__PerlSections__Save_
for 
> 
> for more info.

Still a no go.... it just gives me

1;
__END__

And there is not much to find at the documents you pointed me to.

Even when i use 'normal' style directives it gives the same.... with
normal style i mean :

        $Directory{"/usr/local/apache2/htdocs/test_case_2"} = {
        Options => 'FollowSymlinks',
        AllowOverride => 'All',
        Limit => {
         'GET PUT POST' => {
         require => 'valid-user',
         Order => 'allow,deny',
         Allow => 'from all',
             },
    },
};


> 
>> when reloading/starting/stopping apache, and i wish to see my complete 
>> vhosts dumped.
>> 
>> Am i completetly missing the point of Apache::PerlSections->dump, or am 
>> i doing something completly wrong?
>> 
>> Using mod perl 1.99_17
>> 
>> Martijn




        -- 
        Report problems: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html
List etiquette: http://perl.apache.org/maillist/email-etiquette.html

Re: [mp2] Apache::PerlSections->dump gives no output at all.
M.v.Buytene 20:29 on 28 Oct 2004

Re: [mp2] Apache::PerlSections->dump gives no output at all.
Philippe M. Chiasson 17:58 on 01 Nov 2004

Generated at 11:26 on 21 Dec 2004 by mariachi v0.52