On 2004-10-28 17:34:23 +0200, "Philippe M. Chiasson" <[EMAIL PROTECTED]> 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



Reply via email to