I am having a lot of problems with getting my httpd.conf file to work
correctly on a Windows 2003 server running Perl and Apache 2.049. The first
three lines seem okay, but everything in the <PERL> tag causes the file to
halt. The error message is below the portion of my httpd.conf file.
Any help or assistance would be greatly appreciated.
Thanks,
John
LoadFile "C:/Perl/bin/perl58.dll"
LoadModule perl_module modules/mod_perl.so
PerlRequire "C:/Program Files/Apache Group/Apache2/conf/extra.pl"
<Perl>
use lib "C:/Program Files/Apache Group/Apache2/cgi-bin";
use lib "D:/SWISH-E/lib/swish-e/perl/SWISH";
require "C:/Program Files/Apache Group/Apache2/cgi-bin/swish.cgi";
</Perl>
Alias /cgi-bin/ "C:/Program Files/Apache Group/Apache2/cgi-bin"
<location /cgi-bin/>
PerlSetVar Swish_Conf_File
"D:/SWISH-E/share/doc/swish-e/conf/.searchcgi.conf"
allow from all
set handler perl-script
PerlHandler SwishSearch
</location>
[Tue Nov 30 14:29:09 2004] [error] Can't locate ModPerl/Util.pm in @INC
(@INC contains: C:/Perl/lib C:/Perl/site/lib . C:/Program Files/Apache
Group/Apache2/ C:/Program Files/Apache Group/Apache2/lib/Perl) at C:/Program
Files/Apache Group/Apache2/conf/extra.pl line 2.\nBEGIN failed--compilation
aborted at C:/Program Files/Apache Group/Apache2/conf/extra.pl line
2.\nCompilation failed in require at (eval 2) line 1.\n
[Tue Nov 30 14:29:09 2004] [error] Can't load Perl file: C:/Program
Files/Apache Group/Apache2/conf/extra.pl for server (null):0, exiting...
Note the errors or messages above, and press the <ESC> key to exit. 25...
+---------------------------------------------------------------------+
John Chadwick, Ed.D. Information Technology Manager
New Mexico State Library
1209 Camino Carlos Rey
Santa Fe, NM 87507
Phone: 505-476-9740 Fax: 505-476-9761
jchadwick@stlib.state.nm.us
http://www.stlib.state.nm.us
Received on Tue Nov 30 14:26:44 2004