Hi all,
I try to make this:
use Apache2::Module ();
# test if an Apache module is loaded
if (Apache2::Module::loaded('mod_dbd.c')) {
...
}
But it dones:
Undefined subroutine Apache2::Module::loaded call at...
So why does it not work??
It is possible with mod_perl to access to
Garnier, Jeremie wrote:
use Apache2::Module ();
# test if an Apache module is loaded
if (Apache2::Module::loaded('mod_dbd.c')) {
…
}
But it dones:
Undefined subroutine Apache2::Module::loaded call at…
I suspect that this may be because you're not actually running in
mod_perl.
Sorry, i twas just an error in my httpd.conf.
Can I access to mod_dbd function with the mod_perl?
Thanks
Jérémie
-Message d'origine-
De : Robert Landrum [mailto:[EMAIL PROTECTED]
Envoyé : mardi 30 janvier 2007 17:46
À : Garnier, Jeremie
Cc : Modperl@perl.apache.org
Objet : Re: undefined
CHANGES
- New Feature: the force_untaint option makes sure you do not
pass tainted values to param(). [Sven Neuhaus]
- New Feature: Added ESCAPE=none as a synonym for ESCAPE=0.
Fixed both to work with default_escape. [EMAIL PROTECTED]
- Bug Fix: DEFAULT didn't work with URL
I determined empirically that the file descriptor of the client socket is
always 0 in my environment. I assume this is only true for the Prefork MPM.
For the curious, the code I developed is for a Comet/pushlet type server.
Looks like this:
--- Handoff.pm ---
package Handoff;
use strict;
Robert Landrum wrote:
I suspect that this may be because you're not actually running in
mod_perl. Aside from that, I don't see any methods actually defined in
Apache2::Module::loaded... not even a bootstrap. So it might need to
be loaded from something like Apache2.
mod_dbd is not yet
On Jan 30, 2007, at 4:47 PM, Todd Finney wrote:
I have two servers running in the light/heavy configuration as
outlined in the guide. Both servers are 1.3.34. On the
lightweight server, my proxy section looks like this:
first off, you should be running 2.0.x by now
try this:
my
Hi,
Within a perl Authentication hanlder what is the best way to preserve the
REMOTE_USER value and forward to the same but modified internal URL (without
some query parameters).
for eg.
htttp://localhost/private?MYTEMP=4
I want to remove MYTEMP=4 and forward to htttp://localhost/private
On Jan 30, 2007, at 6:44 PM, Todd Finney wrote:
The bigger, fancier test case checks all of that.
ok. great. sorry for assuming you didn't have that already -- just
have to be sure.
What I posted was a simplified test case, in order to demonstrate
the problem in as few lines of code
On 1/30/07, Todd Finney [EMAIL PROTECTED] wrote:
- When I fire up a new browser and access http://192.168.0.4/, the browser
hangs. In my bigger fancier handler with more detailed logging, it seems
to hang right before the session tie.
Any time that Apache::Session hangs, it's because of the
Just want to comment that I enjoy using HTML::Template. :)
Sam Tregar wrote:
CHANGES
- New Feature: the force_untaint option makes sure you do not
pass tainted values to param(). [Sven Neuhaus]
- New Feature: Added ESCAPE=none as a synonym for ESCAPE=0.
Fixed both to work with
On 1/30/07, Todd Finney [EMAIL PROTECTED] wrote:
The sessions are modified on every request, to set a last_access time, and
they're modified on login to set an authentication token. I can't think of
circumstances under which two different requests would attempt to modify a
given session at the
12 matches
Mail list logo