Yea, I've got to give it a shot next week. I'm still not very
familiar with the whole mod_perl universe. The script does simply
the same thing (can't load) is there any way to increase the
verbosity? Error log entries seem pretty vague even on debug
-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-----