Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: ModPerl: ModPerl

Apache2::Directives trouble with Apache::Test

 

 

ModPerl modperl RSS feed   Index | Next | Previous | View Threaded


hedges at scriptdolphin

Jul 5, 2008, 8:19 PM

Post #1 of 3 (714 views)
Permalink
Apache2::Directives trouble with Apache::Test

Ugh, I am so flummoxed by this.

How do I get the Apache2::Controller::Directives module to
work from t/conf/extra.conf.in? Try commenting out the
PerlSetVar for the same named thing and enabling the line to
load the directives and set A2CRenderTemplateDir.

Wacky! I will buy beer for anyone who can make this work.

Mark
Attachments: Apache2-Controller-0.0003.tar.gz (39.2 KB)


geoff at modperlcookbook

Jul 6, 2008, 8:38 AM

Post #2 of 3 (656 views)
Permalink
Re: Apache2::Directives trouble with Apache::Test [In reply to]

Mark Hedges wrote:
> Ugh, I am so flummoxed by this.
>
> How do I get the Apache2::Controller::Directives module to
> work from t/conf/extra.conf.in? Try commenting out the
> PerlSetVar for the same named thing and enabling the line to
> load the directives and set A2CRenderTemplateDir.
>
> Wacky! I will buy beer for anyone who can make this work.

use t/conf/extra.last.conf.in

this is documented, but I guess not all that well.

see

http://www.perl.com/pub/a/2003/07/08/mod_perl.html

on the last page where it explains the difference a bit. now that you
know, you can search the archives and I'm sure you'll find a bit of info
on it.

--Geoff


hedges at scriptdolphin

Jul 7, 2008, 11:51 AM

Post #3 of 3 (648 views)
Permalink
Re: Apache2::Directives trouble with Apache::Test [In reply to]

On Sun, 6 Jul 2008, Geoffrey Young wrote:
> Mark Hedges wrote:
> >
> > How do I get the Apache2::Controller::Directives module to
> > work from t/conf/extra.conf.in? Try commenting out the
> > PerlSetVar for the same named thing and enabling the line to
> > load the directives and set A2CRenderTemplateDir.
>
> use t/conf/extra.last.conf.in
>
> this is documented, but I guess not all that well.
>
> see
>
> http://www.perl.com/pub/a/2003/07/08/mod_perl.html

Awesome! Directives work great now.

Cool! A2C is now almost functional. So tired of fitting my brain
into other peoples' code... had to do it my way! Hopefully
it's close to the "right way" in view of the mod_perl manual.
I kinda like it... loosey goosey structure.

--mark--

ModPerl modperl RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact lists@gossamer-threads.com
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.