perl_modules directive is not allowed

ronin nginx-forum at nginx.us
Tue Nov 16 10:10:46 MSK 2010


I have solved the problem
move:
perl_modules /redmine/extra/svn;
perl_require Redmine.pm;
to :/etc/nginx/nginx.conf

But redmine.pm still can not load successfully, error message is:

[emerg]: require_pv("Redmine.pm") failed: "Can't locate
Apache2/Module.pm in @INC (@INC contains: /usr/perl/lib /etc/perl
/usr/local/lib/perl/5.10.1 /usr/local/share/perl/5.10.1 /usr/lib/perl5
/usr/share/perl5 /usr/lib/perl/5.10 /usr/share/perl/5.10
/usr/local/lib/site_perl .) at /usr/perl/lib/Redmine.pm line 106.
BEGIN failed--compilation aborted at /usr/perl/lib/Redmine.pm line 106.

Posted at Nginx Forum: http://forum.nginx.org/read.php?2,151088,151102#msg-151102




More information about the nginx mailing list