Jul 15, 2010, 7:45 AM
Post #1 of 2
Migrating from Linux to Windows and Handlers
My first post, so please excuse my ignorance.
I am involved in a project to move a Linux hosted Apache/mod_perl site to a windows platform.
The site concerned contains some strange "<[" code inside actual .html pages, which clearly need a handler to process them.
I have got Apache/mod_perl working but I am have a real problem with a handler called "Tomahawk". The project itself seems to have disappeared-
I think this the home page for the project, but even the download links are defunct.
(Not to be confused with an Apache Tomahawk "My Faces" project)
Here is my httpd.conf snippet:
Options FollowSymLinks ExecCGI
PerlSetVar SiteName fashionpersonnel
<Files ~ "\.html$">
I wasn't sure where to move everything, so I moved the site to c:\inetpub\wwwroot\testsite
and created "c:\inetpub\wwwroot\perl" and "c:\inetpub\wwwroot\perl_tgc" and copied the hander code in from the old site.
there is a startup.pl file, in c:\inetpub\wwwroot\perl\
# use Apache2;
use lib 'c:/inetpub/wwwroot/perl_tgc';
This is what apache's error.log is saying.
[Wed Jul 14 05:48:08 2010] [error] [client 184.108.40.206] failed to resolve handler `Tomahawk::Handler': Can't locate IO/All.pm in @INC (@INC contains: c:/inetpub/wwwroot/perl_tgc C:/Perl/site/lib C:/Perl/lib . C:/Program Files/Apache Software Foundation/Apache2.2) at c:/inetpub/wwwroot/perl_tgc/Tomahawk/Handler.pm line 23.\nBEGIN failed--compilation aborted at c:/inetpub/wwwroot/perl_tgc/Tomahawk/Handler.pm line 23.\nCompilation failed in require at (eval 17) line 3.\n, referer: http://220.127.116.11/welcome.html
The line 23 in handler.pm reads
There is an IO.pm file in c:\perl\lib (C:\perl is where I put ActivePerl 5.8)
Any help, general pointers, would be very much appreciated. (For example, could I get <[ ]> working without Tomahawk)