Member Sites  ::  JOIN  ::   ::  Info  ::  Next Ring  
Apache Software - The Apache Software community is a collection of cooperating sites that contain information or provide support for the f

  Login   Signup



Apache Software

Manager: sumguynamedj
The Apache Software community is a collection of cooperating sites that contain information or provide support for the free software packages from the Apache Software Foundation.
 

Sponsored Links

Forum Posts - Start a new discussion! Posts 1 - 1 of 1
All Threads |   All Posts   ]

Apache 2.2, mod_perl local setup windows 10 help - 12/08/2015
Trying to set up a local environment for web application that we support.

windows 10 OS
Apache 2.2 installed. (win32)
Mod_perl 5.12 installed. (win32)
Strawberry perl 5.12 installed. (win32)

Can successfully run a simple Hello.pm from localhost/hello with these configurations in http.conf, indicating mod_perl installed correctly.

PerlModule Apache2::Hello

SetHandler modperl
PerlResponseHandler Apache2::Hello


Perl startup.pl in eclipse has correct @INC. Can spit out @ INC with the following command in eclipse script:
use Data::Dumper;
print Dumper \@INC;

But Apache log shows the @INC differently, and is incorrect, causing @INC errors in the log and web application can not run. Apache is calling the same startup.pl script that is in eclipse using the perlRequire statement in httpd.conf.

Error like this in apache log:

Can't locate PageTool.pm in @INC (@INC contains: C:\\Program Files (x86)\\Apache Software Foundation\\Apache2.2 C:\\Program Files (x86)\\Apache Software Foundation\\perllib C:/Strawberry/perl/site/lib C:/Strawberry/perl/vendor/lib C:/Strawberry/perl/lib . C:/Program Files (x86)/Apache Software Foundation/Apache2.2) at C:/Program Files (x86)/Apache Software Foundation/Apache2.2/htdocs/braveweb/apps-ssl/common/startup.pl line 21

This path is different from what is showing in eclipse and is incorrect.

Any help would be appreciated.



All Threads |   All Posts   ]





Contact Us | Copyright © 2001-2019 WebRing®, Inc. Terms of Service - Help - Privacy Policy