Sorry I forgot this info,
platform (Unix) : Red Hat Enterprise Linux AS release 3 (Taroon Update 8)
Apache/2.2.9
mod_perl/2.0.4
CGI.pm version 3.15
Shibi Ns
Perl/v5.8.8
On Tue, Oct 14, 2008 at 2:42 PM, André Warnier <[EMAIL PROTECTED]> wrote:
> Hi.
>
> It usually helps for any kind of support
On Tue 14 Oct 2008, André Warnier wrote:
> At this moment, I cannot see clearly how the ErrorDocument solution
> would allow me to send back a login page created dynamically, as I
> need to do. I will look it up, but as a definitive solution for the
> time being I would prefer the $r->internal_red
On Tue, Oct 14, 2008 at 4:28 AM, Shibi NS <[EMAIL PROTECTED]> wrote:
> my $req_params = $req->args;
> my $cgi= CGI->new($req_params);
There's no need to do that. Just call CGI->new(). And make sure you
have the latest version of CGI.pm from CPAN.
- Perrin
On Tue, Oct 14, 2008 at 10:03 AM, André Warnier <[EMAIL PROTECTED]> wrote:
> , but in a a specific , I would like to reset this to
>
> PerlSetVar myvar ""
I've never done this, but did you try undef? Or maybe 0, if you just
want to test for true.
- Perrin
Torsten Foertsch wrote:
[...]
The apache-way to do this has a name: ErrorDocument or in mod_perl
$r->custom_response. Configure an ErrorDocument for 403 and return
HTTP_FORBIDDEN in your A...Handler. That has the benefit that the 403
status is logged and that the browser (think about search eng
On Tue 14 Oct 2008, André Warnier wrote:
> I doubly appreciate not only because my immediate problem is solved,
> but also because I learned a lot in the process.
Try the $r->add_config again with the right override flag (OR_FILEINFO)
and you'll see it will also work.
> It seems to me that this
André Warnier wrote:
I am trying the 4 receipes one after the other, in order of easiest to
more complicated.
Torsten Foertsch wrote:
2) replace $r->handler('modperl') in the aaa phase by
$r->add_config(['SetHandler modperl']). This way you override the
handler set in the configuration stru
Hi Gordon
> Hi all,
>
> I need to know how to convert PDF files to a text file using Perl.
This has nothing to do with mod_perl - a better place to look for
general Perl support is on http://www.perlmonks.org.
Here's a node on PM that may help:
http://www.perlmonks.org/index.pl?node_id=676954
On Tue 14 Oct 2008, André Warnier wrote:
> When I try this, I get an Apache error with the following logfile
> message : [Tue Oct 14 16:10:40 2008] [error] [client 84.158.163.207]
> $r->add_config() has failed: SetHandler not allowed here at
> /usr/local/lib/apache2/perllib/AUTH/StarLogCookie.pm li
Classification: UNCLASSIFIED
Caveats: NONE
Hi all,
I need to know how to convert PDF files to a text file using Perl.
Gordon
Classification: UNCLASSIFIED
Caveats: NONE
Any ideas ?
Gaetan
2008/10/7 titetluc titetluc <[EMAIL PROTECTED]>
> Hello all,
>
> I am developing a new module which defines 2 new directives (TestDirective1
> and TestDirective2). These directives are usable in a container (Location,
> Directory, ...).
> The following code defines the directi
I am trying the 4 receipes one after the other, in order of easiest to
more complicated.
Torsten Foertsch wrote:
2) replace $r->handler('modperl') in the aaa phase by
$r->add_config(['SetHandler modperl']). This way you override the
handler set in the configuration structure. In the fixup ph
Hi.
Ref :
Apache/2.2.3 (Debian) DAV/2 SVN/1.4.2 mod_jk/1.2.18 PHP/4.4.4-8+etch4
mod_ssl/2.2.3 OpenSSL/0.9.8c mod_perl/2.0.2 Perl/v5.8.8 configured --
resuming normal operations
This is a really silly question.
I have a configuration where at the global server level, I set
PerlSetVar myvar "
On Tue 14 Oct 2008, André Warnier wrote:
> reminder of my config :
> >>
> >> SetHandler jakarta-servlet
...
> >>
>
> And, in summary, what I was trying to do is :
> if the PerlAuthenHandler finds that the request is not authenticated,
> then it tries to change the response handler for this re
Torsten Foertsch wrote:
On Tue 14 Oct 2008, Shibi NS wrote:
And the ARULink::MetalinkAuth::handler is
sub handler
{
my ($req) = @_;
my $status;
my $username;
my $userid;
my $email;
#
# Create a Session object.
#
my $req_params = $req->args;
my $cgi
Hi.
I have read and pondered your earlier responses, and I am sure that the
correct solution is somewhere around the ErrorDocument or the
$r->internal_redirect.
But I wanted to exhaust the other possibilities first, for the sake of
completeness and also to learn more about this all.
So one l
On Tue 14 Oct 2008, Shibi NS wrote:
> And the ARULink::MetalinkAuth::handler is
>
> sub handler
> {
> my ($req) = @_;
>
> my $status;
> my $username;
> my $userid;
> my $email;
>
> #
> # Create a Session object.
> #
> my $req_params = $req->args;
> my $cgi
Hi.
It usually helps for any kind of support issue, if you provide some
information about where this is happening : what platform, which Apache
version, which perl version, which mod_perl version, etc..
Now, below :
> SetHandler perl-script
is used when your purpose is to run a "
I have following Location directive in my applications conf file
PerlInitHandler ARULink::setup_request
SetHandler perl-script
PerlResponseHandler ARULink::handler
PerlOptions +ParseHeaders +GlobalRequest
Options ExecCGI
AuthName
19 matches
Mail list logo