I've tested what you've said (Stas) and ... it worked!! yes, the "commas" were
necessary,
okay, then i have emotionated myself and i have taken all the sections to my .pl
archive
and ... it has not worked!!! arghhhh!! uggghhhh!!!
But after spending my evening (another day without gym) i've found (i think) what's
happening.
My <PERL> sections in my .pl file ONLY will work if in the original httpd.conf there
is a
<PERL> section (before or after the require function).
Then i've tested this
-----------------------------------------------------------
my .pl archive is:
..
my $b_config = <<'END';
<Perl >
$Directory{'f:/projectes/sites/blogum.org'} = {
PerlHeaderParserHandler => "Blogum::BlogumHeaders",
Options => "All -Indexes",
AllowOverride => "All",
Order => "allow,deny",
Allow => "from all",
DirectoryIndex => "main.bhtml",
AddOutputFilter => "INCLUDES .bhtml .html",
Files => {
"*.bhtml" => {
PerlOutputFilterHandler => "Blogum::BlogumFilter",
},
},
};
</Perl>
END
Apache->server->add_config([split /\n/, $b_config]);
..
-----------------------------------------------------------
my httpd.conf that DO NOT WORK
PerlRequire f:/tools/apache2/conf/blogum.pl
blogum.org just is denied
-----------------------------------------------------------
my httpd.conf that DO WORK
<Perl >
$Directory{'f:/projectes/sites'} = {
Options => "All -Indexes",
AllowOverride => "All",
Order => "allow,deny",
Allow => "from all",
DirectoryIndex => "webs.html",
};
</Perl>
PerlRequire f:/tools/apache2/conf/blogum.pl
-----------------------------------------------------------
I have tested many times so i am sure of this, then, am i doing something wrong and
this
is an stupid way to act?????
But finally, i can sleep at nights :D
-----
Ya.com ADSL:�PROMOCI�N! Router 3Com Wireless 11g + 1 Mes + Alta �Gratis!
http://acceso.ya.com/adsl/256router/
No te pierdas tu futuro... est� en nuestro <a target="_blank"
href="http://rappelweb.mujeractual.com/tienda/tarot.cfm">Tarot</a>
--
Reporting bugs: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html