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

1999-12-08 Thread Remi Fasol
On Tue, 7 Dec 1999, Joshua Chamas wrote: I am going to give ASP developers a session option, it should be possible to make secure. Stas Bekman wrote: But if you intercept the redirection, why not to strip/modify the HTTP_REFER header at the server side? how about a call to

Re: [EMBPERL]: Broke tied filehandle interface ?

1999-12-08 Thread Gerald Richter
In this case, optRawInput was set. I have a directive PerlSetVar EMPBERL_OPTIONS 16 in my httpd.conf file. Besides, if this was really the problem, why readline GNUPG doesn't work ? Try to place a [+ $optRawInput +] before the block. This should show a 1, if not optRawInput isn't

Re: Apache::ASP Debugging

1999-12-08 Thread G.W. Haywood
Hi all, On Tue, 7 Dec 1999, Joshua Chamas wrote: I'm thinking its best if internal debugging not be turned on by default, that only user level debugging be what Debug levels 1 2 refer to. Unless there are any protests, Debug will have to be set to a negative like -1 or -2 to enable

Re: System calls to return data via STDOUT

1999-12-08 Thread G.W. Haywood
Hi again, On Wed, 8 Dec 1999, hamid khoshnevis wrote: Thanks, Ged. No you are right on. I do glimpseindex off-line and want to search using glimpse. So I call glimpse and get the result set which I am able to pull into regular perl with no problem but as soon as I take the working

Problem with compiling mod_perl

1999-12-08 Thread Craig Vincent
I must have now installed mod_perl a dozen times on a dozen machines and this is the first time I've come across this problem and I can't seem to solve it...nor have I had any luck through FAQs, DejaNews or even newsgroup postings :( I have an RH Linux 6.1 box. I currently have Apache

RE: Problem with compiling mod_perl

1999-12-08 Thread Eric Cholet
I must have now installed mod_perl a dozen times on a dozen machines and this is the first time I've come across this problem and I can't seem to solve it...nor have I had any luck through FAQs, DejaNews or even newsgroup postings :( I have an RH Linux 6.1 box. I currently have Apache

Re: Problem with compiling mod_perl

1999-12-08 Thread Scott Chapman
This looks just like what I saw when I built it on my RH 6.0 setup. I recompiled Perl first and it fixed this. I think what is going on here is that the make file is determing what compiler that Perl was compiled with (cc in this case) and using that to compile Mod_Perl. I read somewhere

Re: Associative Arrays problem

1999-12-08 Thread Tim Tompkins
$rech is a hashref, not a hash. de-reference it with arrow notation. %toto = ( "001" = 1, "002" = 2, "003" = 3 ); %tato = ( "004"= 4, "002"= 5, "005"= 6 ); $rech = {}; $nb = 2; for $mot (keys %toto) { $rech-{$mot} = 1; } for $mot (keys %tato) { if (defined $rech-{$mot}) { $rech-{$mot}++; } }

Re: Associative Arrays problem

1999-12-08 Thread Andrei A. Voropaev
Since the broken code worked in regular perl (and it was supposed to work because $rech and %rech are different things) and it didn't want to work in emb perl then there must be something strange about it. Was it an error in testing code (ie. checking $rech-{keys} instead of $rech{keys} at the

Re: Problem with compiling mod_perl

1999-12-08 Thread Autarch
On Wed, 8 Dec 1999, Craig Vincent wrote: I must have now installed mod_perl a dozen times on a dozen machines and this is the first time I've come across this problem and I can't seem to solve it...nor have I had any luck through FAQs, DejaNews or even newsgroup postings :( Has anyone ever

Re: Problem with compiling mod_perl

1999-12-08 Thread Craig Vincent
I want to that all of your for your speedy reply and really good advice. Although I originally had used GCC to compile perl (and was the same compiler I was trying to use for mod_perl). By recompiling the perl source it seemed to fix whatever problem I was having before...perhaps I screwed up

RE: mod_perl Programmers demand is going up...

1999-12-08 Thread Matt Sergeant
On Fri, 03 Dec 1999, David Harris wrote: Jason Bodnar wrote: Unfortunately, another big part of the problem is that many so-called 'forward thinking' companies aren't willing to hire tele-commuters, even for contract positions. I'm interested in doing some moonlight consultant work but

Redirect While Maintaining Environment?

1999-12-08 Thread Jason Simms
I have a quick question... Let's say I have a module that sets some environment variables (in %ENV). This module then redirects to a CGI script. Is there any way that the CGI script can access these new environment variables? If I check for them in %ENV in the script, they have

Re: Redirect While Maintaining Environment?

1999-12-08 Thread Vivek Khera
"JS" == Jason Simms [EMAIL PROTECTED] writes: JS I have a quick question... Let's say I have a module that sets some JS environment variables (in %ENV). This module then redirects to a CGI JS script. Is there any way that the CGI script can access these new If you redirect, that's most

Re: Redirect While Maintaining Environment?

1999-12-08 Thread Jason Simms
Thanks for the advice, and this brings up another question... Honestly, if I were using an internal redirect, I wouldn't need to bother with these environment variables at all. The problem is that many times before I do this redirect, I also need to set a cookie. Am I correct in assuming

Re: Redirect While Maintaining Environment?

1999-12-08 Thread darren chamberlain
Jason, If you don't *have* to use CGI scripts, you can stick the "sensitive" stuff into $r-pnotes and do an internal redirect to another PerlHandler. The browser would never see the sensitive info (it would be passed among handlers on the server end), so this would go a long way to protecting

Re: Redirect While Maintaining Environment?

1999-12-08 Thread Andrei A. Voropaev
Where do you get that sensitive information from? If it is originated on your own server then why can't CGI script get it without mod_perl? Or why can't you do internal redirect and put that information into query string? It doesn't go outside of your server anyway. If it is coming from client

Re: Redirect While Maintaining Environment?

1999-12-08 Thread Matt Sergeant
On Wed, 08 Dec 1999, Jason Simms wrote: Unfortunately, I am passing information to a legacy CGI script written before I came on board. It will be my task to rewrite this script, but not for a few months. Believe me, if I could use a custom module of my own, I would. Then I could use

Re: Redirect While Maintaining Environment?

1999-12-08 Thread Scott Chapman
On 8 Dec 99, at 16:26, Vivek Khera wrote: Encryption, or store the state locally and pass a handle to that state, eg, a file name or database object number. In order to do this security must be done. It is too easy for someone to make a form and have it submit strange values to your

Re: Associative Arrays problem

1999-12-08 Thread Ken Williams
One thing we should be clear about: mod_perl is EXACTLY regular Perl. There are no differences in how the Perl code is interpreted. The interpreter is not crippled or modified, it just processes Perl like it usually does. The only difference is that your code may be run several times in a row,

where is HTTP_MULTIPLE_CHOICES?

1999-12-08 Thread Dmitry Beransky
Hi, I'm sorry, this is probably a stupid question, but I've search everything I could think of and still can figure out where HTTP_MULTIPLE_CHOICES constant is defined. It's definitely not in Apache::Constants::Exports Any thoughts, did I miss something? Regards Dmitry

Re: simple xml parsing within html

1999-12-08 Thread Cliff Rayman
I read either on this list or another that the author of HTML::Parser was rewriting it to gain additional speed. There may be a beta version somewhere you can try. Check CPAN. cliff rayman genwax.com Alex Menendez wrote: hello, all I currently have developed a dynamic content engine in

Re: simple xml parsing within html

1999-12-08 Thread Craig Bullock
Alex, I do a similar search/replace technique with a HTML template file. If a customized approach is something you'll continue with, then read the entire file all at once instead of line by line, and pass a reference to $r-print(). I've been happy with the following: my $fh = Apache-gensym;

Re: Apache::ASP problem with global.asa

1999-12-08 Thread Joshua Chamas
Please attach a bit of your apache error log with Apache::ASP debugging turned on. It will help to see how things are being initialized and run to diagnose your problem. There was also a global.asa reload error, perhaps related, a couple versions back that would not refresh a changed

Apache::ASP - I think bug...

1999-12-08 Thread BeerBong
Hello Joshua! I think, I catch new bug of Apache::ASP again, although may be Apache::ASP is innocent in this case. I have 2 Apache servers - simple/proxy and mod_perl and secured virtual site of management big Samara portal. Secured on simple Apache.