Apache::Session, AGAIN

2000-01-13 Thread tarkhil
Hello! I've just tried to work (again) with Apache::Session::DBI, and the following handler: # skipped sub handler { my ($r) = @_; return -1 if $r->method !~ /^(GET|POST|HEAD)$/; return -1 if defined($r->content_type) && $r->content_type !~ m|^text/|io; my %session; my $cookie = $r

modperl success story

2000-01-13 Thread Barb and Tim
It could really enhance your integrity if you also presented honest evaluations of the downsides of Perl. The promotion of Perl on this site is so ubiquitous and one sided, and Perl has such a bad reputation in many ways, that somebody like me has a hard time swallowing the sunny prognostications

how come httpd doesn't start even though startup.pl is fine?

2000-01-13 Thread Ricardo Kleemann
Hi everyone, I don't know what's causing this, and there are no errors being logged in my error_log. I'm running apache 1.3.9, mod_perl 1.21, linux 6.1 I have a startup.pl with a bunch of modules in it. If I run the startup.pl by itself it is fine, does not report errors... however, if I run ht

Apache::Registry should allow script to _only_ set return code

2000-01-13 Thread Charles Levert
Hi. [ I use Apache 1.3.9 and mod_perl 1.21. ] I believe that there is a difference between the following two behaviors for an Apache module handler: -- setting the request's status field to a new value and also returning that value; -- just returning a value without ass

Re: Apache::ASP

2000-01-13 Thread don Wang
Joshua, Thanks again for your tips. After a complete installation of perl, mod_perl, and Apache (details below), I am ALMOST there ... : after starting apache/1.3.9 (mod_perl/1.21), I can see a BLACK page with many links in some kind of not quite orderly table layout (rather than plain script

Apache 1.3.9 + mod_perl 1.21 + Solaris 2.7 dumps core

2000-01-13 Thread Alan Burlison
$ httpd -X Segmentation Fault(coredump) I thought this was the old 'apache & modperl use a different malloc' problem, so I recompiled Perl with -Uusemymalloc, along with all the other installed modules. No joy - it still core dumps. Here's the stack trace: (/package/SC5.0/bin/../WS5.0/bin/sparc

Re: Embperl + Apache::Session

2000-01-13 Thread Gerald Richter
> On Wed, Jan 12, 2000 at 11:12:53AM -0800, Cliff Rayman wrote: > > i am using embperl with cookies. > > i also have this set in httpd.conf > > > > PerlSetEnv EMBPERL_COOKIE_DOMAIN .genwax.com > > PerlSetEnv EMBPERL_COOKIE_PATH / > > PerlSetEnv EMBPERL_COOKIE_EXPIRES 'Friday, 31-Dec-2010 14:00:00

perl parser for CC/PP information

2000-01-13 Thread CAMERON, CRAIG
Hi I'm about to write a parser for CC/PP (Composite Capability/Preference Profiles) as a perl module for apache. Basically the information is stored in rdf which is the W3c's way of describing meta-data and I want to p

how come httpd doesn't start even though startup.pl is fine? (fwd)

2000-01-13 Thread Ricardo Kleemann
Hi everyone, I don't know what's causing this, and there are no errors being logged in my error_log. I'm running apache 1.3.9, mod_perl 1.21, linux 6.1 I have a startup.pl with a bunch of modules in it. If I run the startup.pl by itself it is fine, does not report errors... however, if I run ht

Re: Apache 1.3.9 + mod_perl 1.21 + Solaris 2.7 dumps core

2000-01-13 Thread Alan Burlison
"Frank D. Cringle" wrote: > Apache reloads itself during initial startup, to ensure that possible > configuration errors that might cause problems later (e.g. when > rotating logs) are caught as soon as possible. The combination of > this procedure with mod_perl and certain operating systems lea

Re: Apache 1.3.9 + mod_perl 1.21 + Solaris 2.7 dumps core

2000-01-13 Thread Alan Burlison
"Frank D. Cringle" wrote: > Apache reloads itself during initial startup, to ensure that possible > configuration errors that might cause problems later (e.g. when > rotating logs) are caught as soon as possible. The combination of > this procedure with mod_perl and certain operating systems lea

Re: Apache 1.3.9 + mod_perl 1.21 + Solaris 2.7 dumps core

2000-01-13 Thread Frank D. Cringle
Alan Burlison <[EMAIL PROTECTED]> writes: > Note that the SEGV only happens when Apache/perl/modperl are dynamically > linked. Statically linked code behaves fine. I'm wondering if the > mod_perl code goes down a different code path if it is dlopen'd rather > than being statically linked. Apach

Re: alarm() in Apache::Registry

2000-01-13 Thread Matt Sergeant
On Thu, 13 Jan 2000, Stas Bekman wrote: > > In: > > http://perl.apache.org/guide/debug.html#Debugging_Signal_Handlers_SIG_ > > > > The Sys::Signal example is a bit confusing to me, as it uses $SIG{ALRM} in > > the example. Yet that seems like the one signal where you don't need to > > use Sys::S

Re: Apache::Registry and -M

2000-01-13 Thread Stas Bekman
> > "Stas" == Stas Bekman <[EMAIL PROTECTED]> writes: > > Stas> Apache::StatINC is perfect for development stage, if you need the same > Stas> behavior for just a few files on production server, see: > Stas> http://perl.apache.org/guide/porting.html#Reloading_Modules_and_Required_F > > I don

Apache::ASP XML Extension

2000-01-13 Thread Joshua Chamas
Hey, A possible XML extension for Apache::ASP came up when Paul Linder created an internal mapping for $string to translate to Locale::PGetText::gettext($string), for internationalization, and only for his version of the module. I think that it would be good to extend this mechanism in gener

Re: Embperl + Apache::Session

2000-01-13 Thread Andre Landwehr
On Thu, Jan 13, 2000 at 12:47:08PM -0800, Cliff Rayman wrote: > > testing > > This is my counter: > [+ $udat{COUNTER}++ +] > > > > > use your browser to view the page. > keep hitting reload - counter should increase. so my english was good enough to understand the documentation after all...

JOB: Web Application Developer, Tivoli Systems, Austin, TX

2000-01-13 Thread Jason Bodnar
The Tivoli Systems Web and Multimedia Development team is looking to fill a position for a Web Application Developer. This person will work as part of a team to build and maintain web sites for Tivoli's internal and external web sites worldwide. The ideal candidate would meet the following requi

Apache::Registry should allow script to _only_ set return code

2000-01-13 Thread Charles Levert
Hi. [ I use Apache 1.3.9 and mod_perl 1.21. ] I believe that there is a difference between the following two behaviors for an Apache module handler: -- setting the request's status field to a new value and also returning that value; -- just returning a value without ass

Re: Embperl + Apache::Session

2000-01-13 Thread Cliff Rayman
how about trying something simple like. testing This is my counter: [+ $udat{COUNTER}++ +] use your browser to view the page. keep hitting reload - counter should increase. cliff rayman genwax.com Andre Landwehr wrote: > On Wed, Jan 12, 2000 at 11:12:53AM -0800, Cliff Rayman wrote: > >

Apache::ASP Cookieless Sessions

2000-01-13 Thread Joshua Chamas
Hey, In my latest Apache::ASP dev version .18, I have 2 implementations of how a developer can manage cookieless sessions, which I have worked out with Serge Sozonoff and Remi Fasol. The coolest extension is where if SessionQueryParse is set, the HTML buffer, with buffering enabled, will be pa

Re: problems with module at root of web site

2000-01-13 Thread Doug Stevenson
Perrin Harkins wrote: > > Sean Chittenden wrote: > > > > Mind if I ask a nit-pick of a performance question? Currently > > speed and performance are of upmost importance (I'm currently involved in > > a mod_perl vs JServ development race). > > If you're on Linux, I can tell you right no

Re: How to:? Authenticat again an NT domain while running under unix

2000-01-13 Thread Joshua Gerth
> Running: > mod_perl 1.21, apache 1.39, Emperl 1.19 on Solaris 2.5 or Linux 6.0 > > Are there any modules I can load under Unix and Authenticate both in > realtime? You bet. Take a look at Authen::Smb and Apache::AuthenSmb. I am running it on Linux (RedHat 6.0) and it works like a charm. Yo

How to:? Authenticat again an NT domain while running under unix

2000-01-13 Thread Clifford Lang
Running: mod_perl 1.21, apache 1.39, Emperl 1.19 on Solaris 2.5 or Linux 6.0 Are there any modules I can load under Unix and Authenticate both in realtime? TIA, Cliff

Re: or PerlTransHandler directive for multiple /user/subd ir/action

2000-01-13 Thread Andre Landwehr
On Thu, Jan 13, 2000 at 06:08:33AM -0500, Clifford Lang wrote: > > Which is best or right one to use? > > I have thousands of user directories, with a sub of admin for them to > configure their site. > > >From the admin location I want to call the "config" (module e.g. > www.here.com/user/admi

Re: Embperl + Apache::Session

2000-01-13 Thread Andre Landwehr
On Wed, Jan 12, 2000 at 11:12:53AM -0800, Cliff Rayman wrote: > i am using embperl with cookies. > i also have this set in httpd.conf > > PerlSetEnv EMBPERL_COOKIE_DOMAIN .genwax.com > PerlSetEnv EMBPERL_COOKIE_PATH / > PerlSetEnv EMBPERL_COOKIE_EXPIRES 'Friday, 31-Dec-2010 14:00:00 GMT' > > how

Re: Apache 1.3.9 + mod_perl 1.21 + Solaris 2.7 dumps core

2000-01-13 Thread Steve van der Burg
>$ httpd -X >Segmentation Fault(coredump) Ouch! >My config: > >Apache 1.3.9 >mod_perl 1.21 >Solaris 2.7 > >$ cat makepl_args.modperl >APACHE_SRC=/home2/web/build/apache_1.3.9/src >EVERYTHING=1 >USE_APXS=1 >WITH_APXS=/home2/web/apache_1.3.9/bin/apxs This is almost identical to my setup (same OS,

Re: alarm() in Apache::Registry

2000-01-13 Thread Stas Bekman
> At 08:50 AM 1/13/00 +0200, you wrote: > >> Does anyone have experience using an alarm() call under Apache::Registry? > > > >http://perl.apache.org/guide/debug.html#Handling_the_server_timeout_case > > > >> Should I set alarm(0) as my script "exits" or is it ok to leave it set? > >> I'm using it

Re: alarm() in Apache::Registry

2000-01-13 Thread Bill Moseley
At 08:50 AM 1/13/00 +0200, you wrote: >> Does anyone have experience using an alarm() call under Apache::Registry? > >http://perl.apache.org/guide/debug.html#Handling_the_server_timeout_case > >> Should I set alarm(0) as my script "exits" or is it ok to leave it set? >> I'm using it to cap runaway

Re: or PerlTransHandler directive for multiple /user/subdir/action

2000-01-13 Thread Gerald Richter
> > Which is best or right one to use? > > I have thousands of user directories, with a sub of admin for them to > configure their site. > > >From the admin location I want to call the "config" (module e.g. > www.here.com/user/admin/config) > > Can I write a with wildcards as then > set my handl

or PerlTransHandler directive for multiple /user/subdir/action

2000-01-13 Thread Clifford Lang
Which is best or right one to use? I have thousands of user directories, with a sub of admin for them to configure their site. >From the admin location I want to call the "config" (module e.g. www.here.com/user/admin/config) Can I write a with wildcards as then set my handler? Or should I

Re: Embperl emergency...

2000-01-13 Thread Gerald Richter
> > The $escmode thing doesn't seem to work for me. In my srm.conf I have > optRedirectStdout set. My embperl code looks a bit like this... > > [- use foo; -] > [- $escmode = 1; -] You need to set to to zero! > [- foo->bar() -] > > And inside foo.pm > > bar() { > print < > EOF > } > > I've

embperl emergency

2000-01-13 Thread Chris
The escmode thing is working for me now. Not sure what I was doing wrong. Thanks for the help all.

Re: mod_perl mixing up scripts?

2000-01-13 Thread Jay J
- Original Message - From: "Jason Terry" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Wednesday, January 12, 2000 11:43 AM Subject: Re: mod_perl mixing up scripts? > I do not consider myself a mod_perl guru... But, it sounds like you are > having troubles with g