Re: accessing loaded modules from other modules

2004-07-13 Thread Fred Moyer
> just a quick one:How can I access loaded modules from other modules using > mod_perl, i.e. say that I am running module contacts.pm within modperl, > and I want from ContactPersons.pm access the contacts module, given that > the two modules/packages are loaded separately. > any advice appreciated

accessing loaded modules from other modules

2004-07-13 Thread greger
Hi all! just a quick one:How can I access loaded modules from other modules using mod_perl, i.e. say that I am running module contacts.pm within modperl, and I want from ContactPersons.pm access the contacts module, given that the two modules/packages are loaded separately. any advice appreciated!

Re: Replicating mod_autoindex's behaviour with a modperl handler

2004-07-13 Thread Rando Christensen
Geoffrey Young wrote: see the DirectoryIndex documentation - you can specify a URL as well as individual files, so you can simply point to a mod_perl content handler and leave mod_autoindex/mod_dir to do what they do best. if you use DirectoryIndex then just put DirectoryIndex index.html /yourhan

Re: Replicating mod_autoindex's behaviour with a modperl handler

2004-07-13 Thread Geoffrey Young
Rando Christensen wrote: > Hi, I'd like to have a modperl handler that handles directory indexing > similar to mod_autoindex, as in fitting the following rule: > > if at any time it encounters a directory with no other valid indexing > method, the modperl handler is called and will produce outpu

Replicating mod_autoindex's behaviour with a modperl handler

2004-07-13 Thread Rando Christensen
Hi, I'd like to have a modperl handler that handles directory indexing similar to mod_autoindex, as in fitting the following rule: if at any time it encounters a directory with no other valid indexing method, the modperl handler is called and will produce output of the files within the director

RE: modperl preventing index pages from displaying?

2004-07-13 Thread Wouter van Vliet
On maandag 12 juli 2004 21:20, Marlier, Ian wrote: > -Original Message- > From: Wouter van Vliet [mailto:[EMAIL PROTECTED] > Sent: Monday, July 12, 2004 3:00 PM > On maandag 12 juli 2004 20:39, Stas Bekman wrote: > >> Marlier, Ian wrote: >>> Hey, all -- >>> > (..) >>> (..) >> >> > >

RE: index.pl weirdness

2004-07-13 Thread Wouter van Vliet
On dinsdag 13 juli 2004 18:12, Colin JN Breame wrote: > Geoffrey Young wrote: > >> Colin JN Breame wrote: >> >> >>> Hi, >>> >>> I have a problem with apache and mod_perl; >>> >>> The cgi-bin directory has many perl files in it. All execute except >>> index.pl which produces the browser Save

[mp2] access to merged external (non-perl) config directives

2004-07-13 Thread dorian
is there currently a prescribed method for accessing the "current" configuration for a request, i.e., after all the merges have been done, at the particular stage a request is in? that is, if i want to access the current valid DirectoryIndex when a PerlTypeHandler is called, after possible VirtualH

Re: CGI's Generate Pages With Numbers

2004-07-13 Thread Joe Schaefer
"Kent, Mr. John \(Contractor\)" <[EMAIL PROTECTED]> writes: > Any idea what would cause a call to a cgi script to return a > non-displayable page with numbers (below)? [...] > Transfer-Encoding: chunked That would, assuming you're viewing the page with a user-agent which doesn't understand it

Re: Newcomer: error upon loading mod_perl , undefined symbol: Perl_Ipatchlevel_ptr

2004-07-13 Thread Stas Bekman
Charles A. Monteiro wrote: Actually we do: file:/home/oracle/OraHome1/Apache/Apache/libexec/libperl.so file:/root/downloads/perl-5.8.4/libperl.so file:/usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE/libperl.so file:/usr/local/lib/perl5/5.8.4/i686-linux/CORE/libperl.so so does: file:/usr/lib/perl5

Re: index.pl weirdness

2004-07-13 Thread Colin JN Breame
Geoffrey Young wrote: Colin JN Breame wrote: Hi, I have a problem with apache and mod_perl; The cgi-bin directory has many perl files in it. All execute except index.pl which produces the browser Save As dialog. The content of the file saved is the content of index.pl (not something else). How

RE: potential bug/issue with internal_redirect in mp2

2004-07-13 Thread Kreimendahl, Chad J
This code was part of a module that was called post-auth. So my auth handler had already called the relevant methods... and thus the OLD way was working fine. This also worked in internal_redirect in mp1. Once upgraded to mp2... it appears that the internal_redirect did not get to the point

RE: No Speed-Up?

2004-07-13 Thread Kent, Mr. John \(Contractor\)
Hi Stas, Thank you for responding. I attended your "Getting Started with Mod_Perl" class in Monterey, Aug 22, 1999, time flies doesn't it? Anyway you said "You must load mod_perl before you use any mod_perl config, and you config: > Include /users/webuser/conf/heavy_script_aliases2.0.conf >

Re: index.pl weirdness

2004-07-13 Thread Geoffrey Young
Colin JN Breame wrote: > Hi, > > I have a problem with apache and mod_perl; > > The cgi-bin directory has many perl files in it. All execute except > index.pl which produces the browser Save As dialog. The content of the > file saved is the content of index.pl (not something else). > > Howev

Re: Newcomer: error upon loading mod_perl , undefined symbol: Perl_Ipatchlevel_ptr

2004-07-13 Thread Charles A. Monteiro
Actually we do: file:/home/oracle/OraHome1/Apache/Apache/libexec/libperl.so file:/root/downloads/perl-5.8.4/libperl.so file:/usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE/libperl.so file:/usr/local/lib/perl5/5.8.4/i686-linux/CORE/libperl.so so does: file:/usr/lib/perl5/5.8.0/i386-linux-thread-mu

index.pl weirdness

2004-07-13 Thread Colin JN Breame
Hi, I have a problem with apache and mod_perl; The cgi-bin directory has many perl files in it. All execute except index.pl which produces the browser Save As dialog. The content of the file saved is the content of index.pl (not something else). However, if I rename the file to something other

Re: Keeping username and password alive after authentication and authorization

2004-07-13 Thread Jean-Michel Hiver
assuming you don't want to use basic or digest http authentication (aka popup boxes, which manage this kind of thing for you) typically the second (and future) script is kept unaware of the username/password. instead, the authentication script verifies the user/password and generates some kind of