Apache::ASP Debugging

1999-12-07 Thread Joshua Chamas
Hey, I'm working on the Apache::ASP debugging. Currently if debugging is turned on, all the Apache::ASP internal debugging is turned on, as well as user level debugging with $Response->Debug() which can be a pain for the developer, wading through the internal clutter. I'm thinking its best if

Re: @INC and make test

1999-12-07 Thread G.W. Haywood
Hi all, On Wed, 8 Dec 1999, Ruben I Safir wrote: > Syntax error on line 198 of /usr/local/apache/conf/httpd.conf: > Can't locate loadable object for module Apache::Util in @INC (@INC > ls -al /usr/lib/perl5/site_perl/5.005/i386-linux/Apache > -rwxrwxrwx 1 root root 2444 Feb 1 19

Re: ASP Cookieless Sessions (WAS Re: Apache::ASP)

1999-12-07 Thread Joshua Chamas
Bill Desjardins wrote: > > > I don't need these non-cookie secure sessions myself, but if > > I am going to give ASP developers a session option, it should be > > possible to make secure. > > Here is how I solved the problem with redirecting offsite when I am using > the URI for session tracking

Re: ASP Cookieless Sessions (WAS Re: Apache::ASP)

1999-12-07 Thread Bill Desjardins
> Does this really work ? I tried this locally, and it didn't. > The HTTP_REFERER was still sent as from the original page > even though there was an intervening redirect script. > This referer had the original session-id in it. > > So a page like: page.asp?session-id=aasdfdasfdsafadsfadsf >

@INC and make test

1999-12-07 Thread Ruben I Safir
Working on Red HAT 6.0 Down loaded and untarred Perl Modules and Apache (no rpm) make test on modperl fails on trying to find PerlTransHandler which httpd -L doesn't display. Compilered according to instructions for APACI with perl Makefile.PL EVERYTHING=1 DO_HTTPD=1 USE_APACI-1 make make inst

Associative arrays don't work (!)

1999-12-07 Thread G.W. Haywood
Hi all, On Tue, 7 Dec 1999, Joshua Chamas wrote: > Cedric Avena wrote: > > Do associative arrays work with modperl ? That's a bit like saying do floats work in Fortran, isn't it? > If you want to catch subtle errors in your programming, try putting > "use strict" at the top of your code And us

Re: Associative Arrays problem

1999-12-07 Thread Randal L. Schwartz
> "Cédric" == Cédric Avena <[EMAIL PROTECTED]> writes: Cédric> An extract of my program: Cédric> %toto = ( "001" => 1, "002" => 2, "003" => 3 ); Cédric> %tato = ( "004"=> 4, "002"=> 5, "005"=> 6 ); Cédric> $rech = {}; This $rech variable is unused in the rest of your code. "use strict" is y

Re: ASP Cookieless Sessions (WAS Re: Apache::ASP)

1999-12-07 Thread Joshua Chamas
Jeffrey Baker wrote: > > Secure sessions are hard work. You need to sit down and evaluate whether or not you >actually need *secure* sessions. If you decide that enough is at stake to really >tighten the screws, then read on. > > The problem of the session ID in HTTP_REFERER is easy to tackl

Re: ASP Cookieless Sessions (WAS Re: Apache::ASP)

1999-12-07 Thread Jeffrey Baker
Secure sessions are hard work. You need to sit down and evaluate whether or not you actually need *secure* sessions. If you decide that enough is at stake to really tighten the screws, then read on. The problem of the session ID in HTTP_REFERER is easy to tackle. You just need to rewrite ev

Re: ASP Cookieless Sessions (WAS Re: Apache::ASP)

1999-12-07 Thread Joshua Chamas
Matt Sergeant wrote: > > I don't think there's a real option for making it secure. However I think > the prefix (or postfix) method used in the Eagle book is a good one. Simply > change the config to: > > PerlTransHandler Apache::ASP > > and in the handler go: > > sub handler { > my $url_sessi

Re: ASP Cookieless Sessions (WAS Re: Apache::ASP)

1999-12-07 Thread Matt Sergeant
On Tue, 07 Dec 1999, Joshua Chamas wrote: > What options are there anyone, for real cookieless sessions, > without this security risk ??? We can't use IP authentication > because of proxies/NAT, maybe an SSL cert, but not everyone has > this, the UserAgent is not stratified enough to mean much,

ASP Cookieless Sessions (WAS Re: Apache::ASP)

1999-12-07 Thread Joshua Chamas
Serge Sozonoff wrote: > > Hi Joshua, > > I was wondering if you could give us a little update on the status of > Sessions w/o cookies for Apache::ASP? > > Have you started coding it already or is it at the bottom > of a big list of things to do? > > Many Thanks, > > Serge > I have been work

Unloading a library

1999-12-07 Thread Matt Sergeant
How can I completely unload a library and all memory associated with it, and unload any dso's connected with that library? For example, say I use XML::Parser in a section - I don't want that hanging around - it's a big library, so I'd like to completely unload it - is it possible? -- Details:

No pid while processing sections?

1999-12-07 Thread Matt Sergeant
I'm stumped. I've been trying out Sybase's ASA on Linux along with DBD::ASAny. Works fine from the command line and from within handlers, but when I connect from a section it says (paraphrased - this is at a clients): Disconnecting shared memory client: no process id Or something like t

Re: Associative Arrays problem

1999-12-07 Thread Joshua Chamas
Cédric Avena wrote: > > Hi, > > I'm using associative arrays in ASP 0.16, but it doesn't work... I have > taken the same portion of code in a .pl file and execute it, it works... > > Do associative arrays work with modperl ? Could anybody help me ? > > An extract of my program: > %toto = ( "00

Re: [EMBPERL]: Broke tied filehandle interface ?

1999-12-07 Thread Francis J. Lacoste
Gerald Richter wrote: > > > [- > > use GnuPG::Tie::Encrypt; > > > > tie *GNUPG, 'GnuPG::Tie::Encrypt', gnupg_path => '/usr/bin/gpg', > >armor => 1, recipient => 'Francis' > > or die "Error tying variable\n"; > > print GNUPG "Hello world\n"; > > loca

Apache::ASP

1999-12-07 Thread Serge Sozonoff
Hi Joshua, I was wondering if you could give us a little update on the status of Sessions w/o cookies for Apache::ASP? Have you started coding it already or is it at the bottom of a big list of things to do? Many Thanks, Serge !--! ! Serge Sozonoff

Re: Yet More SSI woes...

1999-12-07 Thread BarracoodA
Thanks for the ideas. Yes Darren's idea will work too it seems. I was hacking around last night and came up with this solution, which is fairly efficient... NavBar.pm does a reg exp on a comment tag you specify, so I added to this to include my include tag, then just added the random.cgi code t

Associative Arrays problem

1999-12-07 Thread Cédric Avena
Hi, I'm using associative arrays in ASP 0.16, but it doesn't work... I have taken the same portion of code in a .pl file and execute it, it works... Do associative arrays work with modperl ? Could anybody help me ? An extract of my program: %toto = ( "001" => 1, "002" => 2, "003" => 3 ); %tato

Re: System calls to return data via STDOUT

1999-12-07 Thread Andrei A. Voropaev
It's better not to put this stuff into mod_perl because you'll have issues with memory etc. And the time you gain is nothing to compare with the time needed to start external process. Put it in regular CGI script. And to catch output from external program use standart methods like backticks, pip

Re: System calls to return data via STDOUT

1999-12-07 Thread Rick Myers
On Dec 07, 1999 at 01:53:20 -0800, hamid khoshnevis twiddled the keys to say: > I am trying to call Glimpse from modperl and capture the data set back. > After I wrote the email, I was told by a friend that I should use temporary > files to capture the output of Glimpse. > > Any ideas?? Pipe

Re: Yet More SSI woes...

1999-12-07 Thread darren chamberlain
Hi Charles, I was having a similar problem using a variation of the Apache::NavBar module. My solution was very straightforward: I modified NavBar.pm to merely print the bar (without returning anything) and then called it from a server-parsed page using a perl include. As such: sub handler {

Re: Apache::Session::DBIStore and Sybase

1999-12-07 Thread Vladimir Ivaschenko
Mark D. Laundry wrote: >> dynamic PREPARE on IMAGE or TEXT datatypes" (sorry, don't have access to >> server right now). > >Try the following: Thanks a lot, seems to work - I was just going to modify it myself now. :) However, I decided to split the packages into two files - Session/DBI/Sybase.

Re: System calls to return data via STDOUT

1999-12-07 Thread hamid khoshnevis
I am trying to call Glimpse from modperl and capture the data set back. After I wrote the email, I was told by a friend that I should use temporary files to capture the output of Glimpse. Any ideas?? hamid >From: "G.W. Haywood" <[EMAIL PROTECTED]> >To: mod_perl Mailing List <[EMAIL PROTECTE

RE: Yet More SSI woes...

1999-12-07 Thread Gerald Richter
> > > > This message was sent from Geocrawler.com by "Charles" > <[EMAIL PROTECTED]> > > Be sure to reply to that address. > > > > Howdy, haven't posted in awhile, but here I am > > again:) > > > > I wrote (rewrote from the book) the NavBar.pm and > > it works great, except for the fact that it >

RE: [EMBPERL]: Broke tied filehandle interface ?

1999-12-07 Thread Gerald Richter
> [- > use GnuPG::Tie::Encrypt; > > tie *GNUPG, 'GnuPG::Tie::Encrypt', gnupg_path => '/usr/bin/gpg', >armor => 1, recipient => 'Francis' > or die "Error tying variable\n"; > print GNUPG "Hello world\n"; > local $/ = undef; > $text = ; > close GNU