On 12/18/05, Cadaver <[EMAIL PROTECTED]> wrote:
> Hi!
> I get next error in my apache's error_log while trying to use maypole
> application:
> -----------
> [Sun Dec 18 13:32:37 2005] [error] [client 127.0.0.1] Can't locate Module.pm
> in @INC...
> -----------
>
> And "Internal Server Error" in my browser whith uri http://localhost/module/
>
> I got apache2 with mod_perl installed and Maypole-2.10 patched to work with
> mod_perl 2.
>
> Here is my apache config, as it described in "Web Applications With Maypole"
> by Simon Cozens:
> -----------
> <Perl>
>         use lib qw(/var/www/maypole-sites/module/);
> </Perl>
>         PerlModule Module
> <Location /module>
>         PerlHandler Module
>         SetHandler perl-script
> </Location>
> -----------
>
> As I understand settings for apache 2 differs from settings for apache 1?
> Where I can read about it?

For this setup, you need to create a Module.pm file at
/var/www/maypole-sites/module/Module.pm
This is the 'driver' class of your application. In the Maypole docs,
the equivalent example is the BeerDB.pm file. So read up on the beer
example and modify it for your situation.

Maypole 2.10 should work out of the box with Apache 2, once you have
your Module.pm driver set up.

I'd recommend reading the documentation currently in svn, starting
with Maypole.pm itself. The wiki has the details of how to check this
out - http://maypole.perl.org/?Download

If you don't have subversion installed, just point your browser at the
repository URL.

d.


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_idv37&alloc_id865&op=click
_______________________________________________
Maypole-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/maypole-users

Reply via email to