I think I've found the problem I was having...
When I try to add
PerlModule Apache2
PerlModule Apache::compat
to my http.conf I get "Can't load perl module for Apache2 for server
www.blah.com:80 exiting....
when I comment out the first line I get
to my http.conf I get "Can't load perl module for Apache::compat for
server www.blah.com:80 exiting....
Do I need to do something extra to get this compat module installed
on my system? Everything I'm seeing it kind of giving it as a given
that it's present.
I've mentioned it before, but
I'm trying to set up apache 2 (2.0.54) on Windows 2000 Server
with SSL (from here -- currently working)
http://smithii.com/?q=node/view/30
The latest version of ActivePerl (5.8.7.813)
and... mod_perl, which I've installed via the "mpinstall" script here..
http://perl.apache.org/docs/2.0/os/win32/install.html#PPM_Packages
-Nick
On Jun 10, 2005, at 12:38 AM, Tom Schindl wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Well without an error message and the at least the lines of code
fail we
cann't be much of help ;-)
Tom
Nick Pietraniec schrieb:
| I had something like
|
| use Apache2
| use Apache2::compat ();
|
| before, but I pasted directly what was in the tutorial (below)
and it
| worked.
| As long as I'm shooting out an email to the list, does anyone know
| offhand exactly what options I need to put in there to run a
script that
| I'm moving from a apache1/mod_perl1 config? That's why I just
had the
| compat() option. I tried running it with the below options
(thinking
| that because compat was included that I'd be ok) but it failed.
|
| I assume that it depends on what I'm doing exactly in the old
script,
| but was wondering if anyone knew of anything special that I
needed to do
| offhand. I haven't done much research yet...
|
| My current .pl file (same as what's given on the net)
|
| use ModPerl::Util ();
| use Apache2::RequestRec ();
| use Apache2::RequestIO ();
| use Apache2::RequestUtil ();
| use Apache2::ServerRec ();
| use Apache2::ServerUtil ();
| use Apache2::Connection ();
| use Apache2::Log ();
| use Apache2::Const -compile => ':common';
| use APR::Const -compile => ':common';
| use APR::Table ();
| use Apache2::compat ();
| use ModPerl::Registry ();
| use CGI ();
| 1;
|
|
| On Jun 9, 2005, at 5:57 AM, Robert wrote:
|
|> "Nick Pietraniec" <[EMAIL PROTECTED]> wrote in message
|> news:[EMAIL PROTECTED]
|>
|>> Turns out it was an error in the mod_perl.pl file
|>>
|>> I took "Can't load" to mean "Where's this file?" Where I
should have
|>> taken it as "There's an error in this file"
|>>
|>
|> What was the problem? I have that error as well and I used the
example
|> from
|> the mod_perl site itself.
|>
|> Robert
|>
|>
|
|
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFCqUOFkVPeOFLgZFIRAhbDAJ41zN8Rl6SZHkK0BJyOnwHAnvaNQwCeIpWO
9Paxzt0Wx7T6tnMlYz967Ho=
=JySO
-----END PGP SIGNATURE-----