Skip to main content.
home | support | download

Back to List Archive

httpd.conf on Windows and Apache

From: Chadwick, John <jchadwick(at)>
Date: Tue Nov 30 2004 - 22:26:37 GMT
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.



LoadFile "C:/Perl/bin/perl58.dll"
LoadModule perl_module modules/
PerlRequire "C:/Program Files/Apache Group/Apache2/conf/"

   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";

Alias /cgi-bin/ "C:/Program Files/Apache Group/Apache2/cgi-bin"
<location /cgi-bin/>
  PerlSetVar Swish_Conf_File
  allow from all
  set handler perl-script
  PerlHandler SwishSearch

[Tue Nov 30 14:29:09 2004] [error] Can't locate ModPerl/ 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/ line 2.\nBEGIN failed--compilation
aborted at C:/Program Files/Apache Group/Apache2/conf/ 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/ 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
Received on Tue Nov 30 14:26:44 2004