[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cgiapp] CGI::Application::Plugin::Apache 0.10


Stefan Höfs wrote:
Hello,

I use CGI::Application::Plugin::Apache 0.10 with mod_perl/1.999.21.
I had to add "use Apache2;" in both CGI::Application::Plugin::Apache and CGI::Application::Plugin::Apache::Request
Now its working fine without changing any other code

Thanks for pointing this out, but I don't think it's a C::A::P::Apache issue. 'use Apache2' is used only by people who are running both mod_perl 1.x and mod_perl 2.x on the same system. It just changes you @INC path so that the proper modules are loaded. Since C::A::P::Apache can't know that you two versions of mod_perl installed I don't think this is the place to put it.

Have you tried placing the 'use Apache2' in your startup.pl before you load any C::A's that use this plugin? I'm pretty sure that as long as you 'use Apache2' before you load C::A::P::Apache then you'd be ok.

Please let me know if this does not fix the problem.

--
Michael Peters
Developer
Plus Three, LP


---------------------------------------------------------------------
Web Archive:  http://www.mail-archive.com/suppressed/
             http://marc.theaimsgroup.com/?l=cgiapp&r=1&w=2
To unsubscribe, e-mail: suppressed
For additional commands, e-mail: suppressed


Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.