[Catalyst] MOD_PERL environment variable
Andy Grundman
andy at hybridized.org
Fri Jan 27 21:00:00 CET 2006
Alan Humphrey wrote:
> - I’m setting MOD_PERL to mod_perl/2.000001 which is the version of
> mod_perl on my system.
This should come from mod_perl itself, you shouldn't be setting this manually.
> - My application uses –Engine=Apache2::MP20 in the use Catalyst line.
You do not ever want to specify the engine manually like this. Let Catalyst
auto-detect.
I'm not sure what you're trying to do but if you are looking to test an app
running in mod_perl, the solution is to run your app under Apache and then set
the environment variable CATALYST_SERVER="http://server/myapp"
Then any test scripts will run against that remote server using LWP. Even
though the test scripts specify URLs of http://localhost, it will be rewritten
internally to use the remote server.
-Andy
More information about the Catalyst
mailing list