Re: binary cgi mess ( repost )

2003-03-18 Thread Nikolaus Rath
Francesc Guasch <[EMAIL PROTECTED]> wrote: > > Options ExecCGI > > > Alias /nagios/ /usr/share/nagios/ > > AllowOverride AuthConfig > Options None > order deny,allow > deny from all > allow from ip_removed > I suspect that the Options directive in the direct

Reproductable Segmentation Fault

2002-06-24 Thread Nikolaus Rath
Hello. First, my configuration (i snipped as much as possible). DocumentRoot /home/nikratio/Projekte/www-testing use lib '/home/nikratio/Projekte/www-testing/lib'; #PerlRequire "debug.pl" PerlModule CGI PerlModule Apache::Registry PerlModule SSIChainNG Op

Re: Preserving POST data on external redirect?

2002-06-24 Thread Nikolaus Rath
Ken Y. Clark <[EMAIL PROTECTED]> wrote: > On Mon, 24 Jun 2002, Kirk Bowe wrote: >> Hi all, my content handler does some work with POSTed data, and at >> the end wants to redirect to a totally unrelated server, preserving >> the POST data that the client originally sent, so that the >> unrelated se

Problems with PerlModule

2002-06-22 Thread Nikolaus Rath
Hallo! Is it possible that PerlModule doesn't modify %INC? With PerlModule CGI in the Apache configuration, all scripts with "use CGI" produce warnings like: Subroutine put redefined at /usr/lib/perl5/5.6.1/CGI.pm line 517. Subroutine print redefined at /usr/lib/perl5/5.6.1/CGI.pm line 523. Sub

Re: mod_dir DirectoryIndex vs. $r->uri() manipulation

2001-11-09 Thread Nikolaus Rath
* David Pisoni <[EMAIL PROTECTED]> wrote: > Hello again modperlers, > > I am using perl 5.6.1 / Apache 1.3.20 / mod_perl 1.26. > > I have an interesting problem which maybe someone could shed some > light on : > > I have an early phase handler (can be done as either a > PerlPostReadRequestHandl

Re: stacked handlers return vals

2001-10-22 Thread Nikolaus Rath
* Mark Maunder <[EMAIL PROTECTED]> wrote: > Nikolaus Rath wrote: > >> * Mark Maunder <[EMAIL PROTECTED]> wrote: >> > Hi, >> > >> > If I'm using stacked handlers, what should I return if I dont want the >> > next handler in line to

Re: stacked handlers return vals

2001-10-22 Thread Nikolaus Rath
* Geoffrey Young <[EMAIL PROTECTED]> wrote: If I'm using stacked handlers, what should I return if I >> > > dont want the next handler in line to run because I've returned >> > > all >> required content to the client? (the eagle book says >> > > anything other than >> OK,

Re: stacked handlers return vals

2001-10-20 Thread Nikolaus Rath
* Mark Maunder <[EMAIL PROTECTED]> wrote: > Hi, > > If I'm using stacked handlers, what should I return if I dont want the > next handler in line to run because I've returned all required content > to the client? (the eagle book says anything other than OK, DECLINED > or DONE, but what's the appr

Installing mod_perl

2001-10-15 Thread Nikolaus Rath
Hello. If i install mod_perl with # perl Makefile.pl NO_HTTPD=1 the files in src/modules/perl are not copied into the apache source tree and the Configuration file is not updated. Not a good way. If i call mod_perl in a way like # perl Makefile.pl DO_HTTPD=1 the files are copied and Configur

Installing mod_perl

2001-10-15 Thread Nikolaus Rath
Hello. If i install mod_perl with # perl Makefile.pl NO_HTTPD=1 the files in src/modules/perl are not copied into the apache source tree and the Configuration file is not updated. Not a good way. If i call mod_perl in a way like # perl Makefile.pl DO_HTTPD=1 the files are copied and Configur

Re: Perl Config for VirtualHosts

2001-04-22 Thread Nikolaus Rath
* Steven Vetzal <[EMAIL PROTECTED]> wrote: >Location=> [ "/ext" => { SetHandler => "default-handler" } ], ^ ^ Shouldn't this be { .. }? > --_=_NextPart_001_01C0CADA.7F31E412 > Content-Type: text/html; > c

Re: accessing SSL environment data in Perl*Handler

2001-04-06 Thread Nikolaus Rath
* Paul <[EMAIL PROTECTED]> wrote: > Though I feel rather foolish, the fact remains that I can't seem to > find my SSL environment variables. > > httpd.conf has > > >SSLVerifyClient require >SSLOptions+StdEnvVars > # ... > > > Exactly when and where are they set? In the fi

Session question

2001-04-01 Thread Nikolaus Rath
Hello! I am developing an module wich will provide a valid Session-ID for each configured location/directory. But there is a problem. If there is a sub request without valid Session-ID (because the initial request didn't need one), but the requested Location requires one, what should the module

ChildInitHandler

2001-03-30 Thread Nikolaus Rath
Hello! The following code doesn't work. I think that child_init_handler is never called. But there are no errors in the error log. What goes wrong here? -[/home/nikratio/cvs/tsession-perl/Apache/foo.pm] #!/usr/bin/perl -w package Apache::foo; use Apache::Cookie (); use Apa

Passing Objects with PerlSetVar

2001-03-09 Thread Nikolaus Rath
Hello! my $o = { "bar" => 1, "foo" => "com", "other" => 0 }; push @PerlSetVar, "Objekt, $o; PerlHandler Bla And inside the Bla Handler: my $o = $r->dir_config("Objekt"); Is $o now still a complex object, so i could do $o->

$r->pnotes and SubRequests

2001-03-07 Thread Nikolaus Rath
Hello! When i define a pnote for a request, can i access this pnote in a handler handling a sub request of the first request? - Nikolaus -- Heute kann man ja kaum noch eine AOL-CD aus dem Fenster werfen, ohne jemanden zu treffen, der einen SuSE-Karton unter dem Arm trägt.

uri to filename

2001-03-05 Thread Nikolaus Rath
Hello! As described in the other mail, i have a TransHandler wich modifies the URI. But this doesn't work correctly. Two examples: When the URI is not been modified: TransHandler: $r->uri: /showsession.php $r->filename: [empty] $r->path_info: [empty] AccessH

Modifying $r->uri

2001-03-03 Thread Nikolaus Rath
Hello! I want to modify $r->uri in a Handler. Is the PerlTransHandler hook early enough? I think the handler must be called before the Location Sections in the apache config are used to build the dir_config struct. - Nikolaus -- "Perl ist der geglückte Versuch, einen braindump direkt ausfüh