03-21-2006
I recalled that APR needed to be recompiled to work with Apache 2.2, and mod_perl needs that APR. To avoid the hassle, use Apache 2.0.x for now is recommended.
I think I have mod_perl 2 + Apache 2.2 on my work machine. Couldn't remember if the installation was without problems.
9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
how do i get a mod_perl for apache on a win98 box ? (1 Reply)
Discussion started by: perleo
1 Replies
2. UNIX for Advanced & Expert Users
has anyone used these?
i am useing Apache 2 and mod_perl 1.99_12. (the latest for both)
<Location /test>
PerlAuthenHandler Apache::AuthenNTLM
AuthType ntlm
require valid-user
PerlAddVar ntdomain "CONWAY QGATS006 CNFQS022"
PerlSetVar defaultdomain CONWAY
PerlSetVar ntlmdegub 2... (1 Reply)
Discussion started by: Optimus_P
1 Replies
3. Solaris
hello solaris friends,
I've tried installing Sun Solaris 10.0, but everytime it seems to bypass the network config. screen that looks similar to this...here's the url:
http://www.hup.hu/old/images/hup/Solaris/Sol10beta7/9.png
I'm able to install it all the way through but I get no... (2 Replies)
Discussion started by: cadmiumgreen
2 Replies
4. UNIX for Advanced & Expert Users
Hello,
I'm trying to install mod_perl on solaris 9, but I get an error. It seems to complain about my c compiler, but I may be wrong. If it is, I already defined the path to my c complier, which is gcc. Please advise.
#cd /usr/src/mod_perl-1.29
#perl Makefile.PL... (3 Replies)
Discussion started by: xnightcrawl
3 Replies
5. UNIX for Advanced & Expert Users
I am running FreeBsd 6.1 and I installed mod_perl2 using ports but it still isn't loading into apache. What do I have to do to get mod_perl to load in apache??????????? (1 Reply)
Discussion started by: rbizzell
1 Replies
6. UNIX and Linux Applications
I think this is more of a application question than a scripting question.
On a solaris 8 server with Apache 2.6 and perl 5.8.8, we have an html/javascript file that uses HTTP Post to a perl script. The perl script sends data back via HTTP get to a redirected HTML file. The HTML file strips off... (0 Replies)
Discussion started by: csgonan
0 Replies
7. UNIX and Linux Applications
Hi All,
I am installing mod_perl in my machine but getting some error below is the procedures which I followed for installing the mod_perl
Step1 : perl Makefile.PL MP_APR_CONFIG=/usr/local/apache2/bin/
asked for apache path given : /usr/local/apache2
Step2: make
Step 3: make test
In... (2 Replies)
Discussion started by: jacknicolson
2 Replies
8. Web Development
only happens with mod_perl (AddHandler perl-script)
with AddHandler cgi-script all is fine
for some reason it adds this html-code on my error page:
it's just like php-error report
it happens when user does a mistake in form he gets error page
when i use cgi-method there's just error... (0 Replies)
Discussion started by: tip78
0 Replies
9. Solaris
Not very helpful to say the least. Seems to read the flar file and go through the upgrade and then come up with this error.
Any ideas? (1 Reply)
Discussion started by: psychocandy
1 Replies
LEARN ABOUT MOJAVE
apache2::porting
install::TempContent::Objects::mod_perl-2.0.9::docs::apiUseraContribuinstall::TempContent::Objects::mod_perl-2.0.9::docs::api::Apache2::porting(3)
NAME
Apache2::porting -- a helper module for mod_perl 1.0 to mod_perl 2.0 porting
Synopsis
# either add at the very beginning of startup.pl
use Apache2::porting;
# or httpd.conf
PerlModule Apache2::porting
# now issue requests and look at the error_log file for hints
Description
"Apache2::porting" helps to port mod_perl 1.0 code to run under mod_perl 2.0. It doesn't provide any back-compatibility functionality,
however it knows to trap methods calls that are no longer in the mod_perl 2.0 API and tell what should be used instead if at all. If you
attempts to use mod_perl 2.0 methods without first loading the modules that contain them, it will tell you which modules you need to load.
Finally if your code tries to load modules that no longer exist in mod_perl 2.0 it'll also tell you what are the modules that should be
used instead.
"Apache2::porting" communicates with users via the error_log file. Everytime it traps a problem, it logs the solution (if it finds one) to
the error log file. If you use this module coupled with "Apache2::Reload" you will be able to port your applications quickly without
needing to restart the server on every modification.
It starts to work only when child process start and doesn't work for the code that gets loaded at the server startup. This limitation is
explained in the Culprits section.
It relies heavily on "ModPerl::MethodLookup". which can also be used manually to lookup things.
Culprits
"Apache2::porting" uses the "UNIVERSAL::AUTOLOAD" function to provide its functionality. However it seems to be impossible to create
"UNIVERSAL::AUTOLOAD" at the server startup, Apache segfaults on restart. Therefore it performs the setting of "UNIVERSAL::AUTOLOAD" only
during the child_init phase, when child processes start. As a result it can't help you with things that get preloaded at the server
startup.
If you know how to resolve this problem, please let us know. To reproduce the problem try to use an earlier phase, e.g.
"PerlPostConfigHandler":
Apache2::ServerUtil->server->push_handlers(PerlPostConfigHandler => &porting_autoload);
META: Though there is a better solution at work, which assigns AUTOLOAD for each class separately, instead of using UNIVERSAL. See the
discussion on the dev list (hint: search the archive for EazyLife)
See Also
mod_perl 2.0 documentation.
Copyright
mod_perl 2.0 and its core modules are copyrighted under The Apache Software License, Version 2.0.
Authors
The mod_perl development team and numerous contributors.
perl v5.18.2 2install::TempContent::Objects::mod_perl-2.0.9::docs::api::Apache2::porting(3)