Am Mittwoch, 23. Februar 2005 17:12 schrieb Michael Peters: > Stefan H�fs wrote: > >>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. > > > > That does not fix the problem. Perl does not find Apache::Request without > > the use Apache2 statement. > > Would you mind posting the relevant bits of you httpd.conf and your > startup.pl? I still think this is something that needs to happen before > you load C::A::P::Apache for a number of reasons. Since it's supposed to > work with mod_perl 1.x and mod_perl 2.x, 'use Apache2' does not belong > there IMHO, but I could be wrong. > > Are you using Apache2 anywhere else? If so, I wonder why your @INC > doesn't already contain the Apache2 dirs.
Sorry, placing "use Apache2" in my Application Module fix the problem package MyModule; use Apache2; use base (CGI::Application); use CGI::Application::Plugin::Apache qw(:all); thats it --------------------------------------------------------------------- Web Archive: http://www.mail-archive.com/[email protected]/ http://marc.theaimsgroup.com/?l=cgiapp&r=1&w=2 To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
