Session

1999-12-15 Thread raptor
hi, Is there Session module that has capability more like ASP::Session rather than Apache::Session.(I mean hanlidng the cookies too, Joshua is it easy to extract Session functionality from ASP as a standalone module :")). OR what mostly the MASON people use to handle Sessions. Thanx =

Re: Win32+PerlModule works !!!

1999-12-15 Thread Gerald Richter
Thanks a lot, Randy!!! I recompiled mod_perl with that flag, and now PerlModule/PerlRequire/Use ... work! Apache comes up, and everything seems fine so far! But I don't know how this flag influences whatever. Apache loads all APache modules twice. This flag disables all PerlRequire and

Re: EmbPerl use HTML::Embperl failed ( just Win95 )

1999-12-15 Thread Gerald Richter
I copied both Apache and Perl from NT to Win95 after I recompiled mod_perl with the PERL_STARTUP_DONE_CHECK flag and it worked! PerlModule/PerlRequire and use let Apache start - fine ! It works on NT and Win95. I was so happy about it that I thought the other problem is solved too - but it

Re: Hanging processes [LONG with debugging output]

1999-12-15 Thread Tony Demark
In message [EMAIL PROTECTED], Doug MacEac hern writes: (gdb) longmess at /opt/local/perl/Apache/Constants.pm line 19 Apache::Constants::AUTOLOAD() called at /opt/local/perl/Apache/Regis try hmm, add this to .gdbinit: define perl_get_sv set $sv = perl_get_sv($arg0, 0) printf

RE: again - more then one PerlTransHandler

1999-12-15 Thread Geoffrey Young
well, you are missing something :) p 73: "Apache will walk through the registered uri_translate handlers until one returns a status other than DECLINED." thus I suspect that SimpleTranslation::handler is returning OK, so your request never gets to FancyTranslation::handler HTH --Geoff

perl-script breaks cgi?

1999-12-15 Thread Kees Vonk 7249 24549
I just ran into a problem I don't understand: I was testing a PerlAccessHandler on a cgi (not modperl) directory like this: Directory /my/user/directory SetHandler perl-script PerlAccessHandler My::Access /Directory when I tried to access a cgi script and got passed the access control

all protected but one...

1999-12-15 Thread Robert Locke
Hi all, What is the best way to have a Location directive apply to an entire site except for a single directory? This relates to Apache::AuthenCookie. I'm trying to "require valid-user" for the entire site except for a directory ("/register"). Thanks... Rob

Re: perl-script breaks cgi?

1999-12-15 Thread Greg Cope
Kees Vonk 7249 24549 wrote: I just ran into a problem I don't understand: I was testing a PerlAccessHandler on a cgi (not modperl) directory like this: Directory /my/user/directory SetHandler perl-script PerlAccessHandler My::Access /Directory What about the normal cgi stuff

RE: perl-script breaks cgi?

1999-12-15 Thread Eric Cholet
I just ran into a problem I don't understand: I was testing a PerlAccessHandler on a cgi (not modperl) directory like this: Directory /my/user/directory SetHandler perl-script PerlAccessHandler My::Access /Directory Don't use SetHandler for a PerlAccessHandler, it's only for

Re: all protected but one...

1999-12-15 Thread Eric L. Brine
What is the best way to have a Location directive apply to an entire site except for a single directory? Set the site-wide handler in a Location "/" and override the handler for the "register" dir by setting the default handler in Location "/register". Unfortuntaly, I don't know the name of

Re: Win32+PerlModule works !!!

1999-12-15 Thread John D Groenveld
Have you been able to install it as a NT Service? I can only run 1.3.9/1.2.21 from the command line. 1.3.6/1.2.21 are working fine. :( I hate NT. John [EMAIL PROTECTED]

Re: again - more then one PerlTransHandler

1999-12-15 Thread Andrei A. Voropaev
It works perfectly well for me. I have modperl 1.21, apache 1.3.9 on RedHad linux (5.2). I install any number of TransHandlers and as long as each one of them returns DECLINED they are all executed. I tried both ways (one line and multiple lines) and everything has worked. Probably you just need

Re: all protected but one...

1999-12-15 Thread Rick Myers
On Dec 15, 1999 at 09:56:03 -0400, Eric L. Brine twiddled the keys to say: What is the best way to have a Location directive apply to an entire site except for a single directory? Set the site-wide handler in a Location "/" and override the handler for the "register" dir by setting the

Re: again - more then one PerlTransHandler

1999-12-15 Thread Jay J
- Original Message - From: "Andrei A. Voropaev" [EMAIL PROTECTED] To: "Evgenii Bazarov" [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Wednesday, December 15, 1999 10:18 AM Subject: Re: again - more then one PerlTransHandler It works perfectly well for me. I have modperl 1.21, apache

Re: troubleshooting seg fault/child exit

1999-12-15 Thread Ges Seger
This is going to be long. It's also incomplete because I want to run one more test that came to me this AM. -- Output of perl -v: This is perl, version 5.005_02 built for PA-RISC2.0 Copyright 1987-1998, Larry Wall Perl may be copied only under the terms of either the Artistic License or the

Re: Core dump on graceful restart.

1999-12-15 Thread C. R. Oldham
Doug MacEachern wrote: On Tue, 14 Dec 1999, C. R. Oldham wrote: My Apache core dumps on graceful restart. if you can reproduce the core dump and run: % gdb httpd core (gdb) where (gdb) where #0 0x80f4d4b in do_clean_objs () #1 0x80f4ccf in visit () #2 0x80f4df2 in Perl_sv_clean_objs

Re: Hanging processes [LONG with debugging output]

1999-12-15 Thread Doug MacEachern
(gdb) perl_get_sv("Apache::Constants::AUTOLOAD") Apache::Constants::OPT_EXECCGI what I was about to suggest trying is already in the modperl cvs Changes: preload Apache::Constants::OPT_EXECCGI() for Apache::{Registry,PerlRun} thanks to Chris Remshaw for spotting this w/ Apache::DProf so try

RE: Win32+PerlModule works !!!

1999-12-15 Thread Gerald Richter
Have you been able to install it as a NT Service? I can only run 1.3.9/1.2.21 from the command line. 1.3.6/1.2.21 are working fine. :( I hate NT. Did you try to compile mod_perl with #define PERL_STARTUP_DONE_CHECK 1 at the top of the mod_perl.h? This may solve your problem. Gerald

mod_perl and proxying

1999-12-15 Thread Dmitry Beransky
Hi all, On my system I have a global PerlHandler module that processes all incoming requests. Within itself, the module filters out requests that are not of particular MIME types or requests containing '/resources/' in their uris and lets them to be processed by their intended handlers (by

Re: Win32+PerlModule works !!!

1999-12-15 Thread John D Groenveld
Did you try to compile mod_perl with #define PERL_STARTUP_DONE_CHECK 1 at the top of the mod_perl.h? This may solve your problem. Yes, without that define, DBI breaks and I can't run from the command line without -X Very frustrating, but no more so than the typical experience of using

Article about Apache/mod_perl handler (german)

1999-12-15 Thread Gerald Richter
Everybody who is interested in some basic knowledge about Apache stages and mod_perl handlers, may take a look at my article in german iX magazin 1/2000. It's also available in the web unter http://www.heise.de/ix/artikel/2000/01/156/ Gerald

RE: Win32+PerlModule works !!!

1999-12-15 Thread Gerald Richter
Yes, without that define, DBI breaks and I can't run from the command line without -X Very frustrating, but no more so than the typical experience of using NT. Did you first uninstall the old one (Apache -u), before installing the new one? Does the error log contains any hints? Gerald

RE: mod_perl and proxying

1999-12-15 Thread Gerald Richter
File does not exist: proxy:http://localhost:8088/data.xml I've tried returning DECLINED from the handler to let the proxy module to kick in (with return DECLINED if $r-filename =~ m/^proxy:/;), but I still get the same error message. setting the right handler again, may help: if

RE: mod_perl and proxying

1999-12-15 Thread Dmitry Beransky
Just tried it; didn't help. The error message is still there. Is it possible that the proxy setup is somehow screwed up? I checked and rechecked and everything seems fine: mod_proxy is loaded, ProxyRequests is turned on. I can't think of anything else to check. Regards Dmitry At 12:37 PM

Re: Win32+PerlModule works !!!

1999-12-15 Thread John Arnold
FWIW, I have Randy Kobes' modperl/apache distribution installed on NT 4.0 as a service. It appears to execute successfully using ODBC against an Access database locally and a DB2 database on a remote machine. John D Groenveld [EMAIL PROTECTED] on 12/15/99 03:28:23 PM To: "Gerald Richter"

Re: Session

1999-12-15 Thread Joshua Chamas
raptor wrote: hi, Is there Session module that has capability more like ASP::Session rather than Apache::Session.(I mean hanlidng the cookies too, Joshua is it easy to extract Session functionality from ASP as a standalone module :")). OR what mostly the MASON people use to handle

How to use perl with apache??

1999-12-15 Thread Jangalwa, Dheeraj \(ETS - Equity Development Support\)
Hi, I have come to know that if i want to use perl for my dynamic web-pages, i have to configure my apache with mod_perl module. I would really appreciate if someone can provide me some help on how to do it or install perl module for apache??? (pardon my proper english) All i am trying to

Re: How to use perl with apache??

1999-12-15 Thread Stas Bekman
I have come to know that if i want to use perl for my dynamic web-pages, i have to configure my apache with mod_perl module. I would really appreciate if someone can provide me some help on how to do it or install perl module for apache??? (pardon my proper english) All i am trying to

Re: Problems building

1999-12-15 Thread G.W. Haywood
Hi all, On 14 Dec 1999, Greg Stark wrote: I think the interdependence with the apache tree and the mod_perl tree just makes things too complicated. I'm not unfamiliar with complicated building software -- even fairly complex software, but mod_perl just plain won that weekend, I conceded

Re: Problems building

1999-12-15 Thread Eric Cholet
On Wed, 15 Dec 1999, you wrote: Hi all, On 14 Dec 1999, Greg Stark wrote: I think the interdependence with the apache tree and the mod_perl tree just makes things too complicated. I'm not unfamiliar with complicated building software -- even fairly complex software, but mod_perl

Re: EmbPerl use HTML::Embperl failed ( just Win95 )

1999-12-15 Thread Rolf Ohnmacht
- Original Message - From: Gerald Richter [EMAIL PROTECTED] To: Rolf Ohnmacht [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Wednesday, December 15, 1999 12:43 PM Subject: Re: EmbPerl use HTML::Embperl failed ( just Win95 ) Same old message: Can't load

Re: Win32+PerlModule works !!!

1999-12-15 Thread Rolf Ohnmacht
- Original Message - From: John D Groenveld [EMAIL PROTECTED] To: Rolf Ohnmacht [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Wednesday, December 15, 1999 4:24 PM Subject: Re: Win32+PerlModule works !!! Have you been able to install it as a NT Service? I can only run 1.3.9/1.2.21

'var' instead of var ... (getting crazy)

1999-12-15 Thread Andrea Brugiolo
Dear Folks, a kind of weird problem is making me crazy: i wrote two scripts, all under mod_perl and they seem to be ok. One calls the other one and passes some arguments to it through the query_string (url_params); well, the latter

Re: Problems building

1999-12-15 Thread G.W. Haywood
Hi there, Good to hear from you again. On Wed, 15 Dec 1999, Eric Cholet wrote: I'm strongly opposed to this suggestion. I have always built mod_perl + apache in one single step (perl Makefile.PL EVERYTHING=1 DO_HTTPD=1 make install), I like the fact that I install just the binary httpd

Re: 'var' instead of var ... (getting crazy)

1999-12-15 Thread Eric L. Brine
the [query_string (url_params)] usually reads this query_string in correctly, like this: record=32lang=it BUT, SOMETIMES (random?) query_string is read like: 'record=32lang=it' Where could my error be? Do you have any mod_perl handlers that work at an earlier phase of the