Installing mod_perl on MacOSX

2001-03-14 Thread Philippe de Rochambeau
Hello, has anyone ever installed/compiled mod_perl for MacOSX? If so, how exactly did you do it? Many thanks. Philippe de Rochambeau

Re: cgi_to_mod_perl manpage suggestion

2001-03-14 Thread Gunther Birznieks
Personally I'll admit that I've gotten screwed by this before... I usually remember that it's a setting and set it one way, and then when my script doesnt work, I set it the other way. Of course I didnt read the docs thoroughly, but because it was confusing, I just try it until it worked. Mayb

Re: cgi_to_mod_perl manpage suggestion

2001-03-14 Thread Andrew Ho
Hello, SB>A small correction: "PerlSendHeader On makes mod_perl act just like SB>mod_cgi with regard to HTTP headers" :) +1 vote for adding this simple sentence, which IMO would clear up lots of CGI to mod_perl beginner confusion. Humbly, Andrew ---

Re: Very[OT]:Technical query re: scratchpad lookups for my() vars

2001-03-14 Thread Paul
--- Brian Ingerson <[EMAIL PROTECTED]> wrote: > Garrett Goebel wrote: > > > > From: Paul [mailto:[EMAIL PROTECTED]] > > > > > > Anybody know offhand *why* my() lexicals are supposedly faster? > Yes this is OT, but I'll contribute to the problem as well... > > My coworker Gisle Aas (maybe

Re: cgi_to_mod_perl manpage suggestion

2001-03-14 Thread Stas Bekman
On Wed, 14 Mar 2001, Perrin Harkins wrote: > On Wed, 14 Mar 2001, Issac Goldstand wrote: > > I still think that the above line is confusing: It is because mod_perl is > > not sending headers by itelf, but rather your script must provide the > > headers (to be returned by mod_perl). However, w

Re: Very[OT]:Technical query re: scratchpad lookups for my() vars

2001-03-14 Thread Paul
--- Elizabeth Mattijsen <[EMAIL PROTECTED]> wrote: > At 03:52 PM 3/14/01 -0800, Paul wrote: > But nothing about the structural/algorithmic mechanics. :< > > From the perlsub docs: > > Variables declared with my are not part of any package and are > therefore > never fully qualified with the p

Re: Very[OT]:Technical query re: scratchpad lookups for my() vars

2001-03-14 Thread Elizabeth Mattijsen
At 03:52 PM 3/14/01 -0800, Paul wrote: But nothing about the structural/algorithmic mechanics. :< From the perlsub docs: Variables declared with my are not part of any package and are therefore never fully qualified with the package name. In particular, you're not allowed to try to make a pac

Re: Apache::ASP problems

2001-03-14 Thread Joshua Chamas
Leighton Donal Jones wrote: > > Hello, > Would anybody be able to help with this problem? I am using > Apache, mod_perl and Apache::ASP.When I call an asp file from the browser > it seems to read the file content as html, eg on a form, in the input area > it shows the name of the variabl

Broken readdir

2001-03-14 Thread Paul J. Lucas
Back on 11 Dec 2000, Richard Dice <[EMAIL PROTECTED]> wrote: > Here's something that myself and my sysadmin guy have been working on for a > bit: opendir appears to be broken for us on a new Apache/mod_perl > installation. > > We've tried checking out the mailing list archives but nothing jumppe

Re: Very[OT]:Technical query re: scratchpad lookups for my() vars

2001-03-14 Thread Paul
--- Robert Landrum <[EMAIL PROTECTED]> wrote: > I could be wrong, but as I recall, when your program enters a scope, > perl immediatly identifies the the scratchpad to use. Then, it need > only search backwards up the tree of scratchpads to find the variable > "$x", which is faster than iterat

Re: unreleased sockets using DBI / DBD::mysql under mod_perl?

2001-03-14 Thread Greg Cope
Joern Janoschek wrote: > > On Wed, 14 Mar 2001 18:46:31 +, Greg Cope wrote: > > >There's no reason why Apache::DBI should not work - by the sounds of it > >the connections strings may have been different ? > > > >Apache::DBI works in an environment where on user ID is used to connect > >to t

Re: [OT] unsubscribing was Re: Varaible scope & memory under mod_perl

2001-03-14 Thread Joe Brenner
[EMAIL PROTECTED] wrote: > I really don't see the point in putting list info in the headers. The people that > have to ask these questions usually don't have full headers turned on. > > Why not put it at the bottom of each email instead of the headers like some > other lists do? It would take

Re: Very[OT]:Technical query re: scratchpad lookups for my() vars

2001-03-14 Thread Robert Landrum
I could be wrong, but as I recall, when your program enters a scope, perl immediatly identifies the the scratchpad to use. Then, it need only search backwards up the tree of scratchpads to find the variable "$x", which is faster than iterating through the STHASH looking for a localized or glo

Re: $r and Registry(NG)* scripts

2001-03-14 Thread Daniel
Stas Bekman wrote: > On Tue, 13 Mar 2001, Daniel wrote: > > >> >> All scripts on site start with: use vars qw(%input $r); $r = Apache->request; This has worked fine...no complaints in log files...until I switched the handler from Registry to Registr

Re: cgi_to_mod_perl manpage suggestion

2001-03-14 Thread Issac Goldstand
Possibly. I think the idea is to keep in mind that people who are reading cgi_to_mod_perl are total newbies. Not only that, but many are planning on staying total newbies forever; they don't care about what mod_perl is actually for (or actually can do). I think that the cgi_to_mod_perl manpage

Very[OT]:Technical query re: scratchpad lookups for my() vars

2001-03-14 Thread Paul
Anybody know offhand *why* my() lexicals are supposedly faster? If they're stored on a scratchpad for the scope, which is an array, (technically a stack of them to accommodate recursion,) then exactly how does Perl go about finding which data location you mean when you say $x for a lexical? $::x

Apache::StatINC patch

2001-03-14 Thread Ilya Konstantinov
Hi, While developing with mod_perl and Apache::ASP here at Aduva SID department, we've came across an annoying problem. Apache::ASP adds it's 'Global' directory to @INC. We naturally used it to store modules. Since mod_perl resets @INC across requests but doesn't reset %INC, Apache::StatINC some

Apache::ASP problems

2001-03-14 Thread Leighton Donal Jones
Hello, Would anybody be able to help with this problem? I am using Apache, mod_perl and Apache::ASP.When I call an asp file from the browser it seems to read the file content as html, eg on a form, in the input area it shows the name of the variable, it dosen't recognise the perlScript an

Re: [gsar@ActiveState.com: v5.6.1 trial2 is available]

2001-03-14 Thread Jarkko Hietaniemi
Hi, sorry for not answering sooner. The suggested patch seems to work find with the development branch of Perl, and I believe Sarathy will apply the patch also to the maintenance branch. On Wed, Feb 21, 2001 at 09:32:04PM +0100, Jens-Uwe Mager wrote: > On Fri, Feb 16, 2001 at 05:44:34PM +0100,

Re: [OT] Client Certificate Authentification module?

2001-03-14 Thread Adam Worrall
> "KV" == Kees Vonk <[EMAIL PROTECTED]> writes: KV> I am looking for a module that will allow me to use Client KV> Certificates to authenticate the users. I am pretty sure I have KV> come accros this before, but I cannot find it anywhere. Anybody KV> know where I can find this

RE: [OT] unsubscribing was Re: Varaible scope & memory under mod_perl

2001-03-14 Thread Steven Zhu
First of All, I would like to thank you all for quick responses. This is my situation. I originally joined this list as another user (having different user email account). Now I got those emails from the alias of my original account. If I just send mail to [EMAIL PROTECTED], I believe that it doe

Re: cgi_to_mod_perl manpage suggestion

2001-03-14 Thread Perrin Harkins
On Wed, 14 Mar 2001, Issac Goldstand wrote: > I still think that the above line is confusing: It is because mod_perl is > not sending headers by itelf, but rather your script must provide the > headers (to be returned by mod_perl). However, when you just say "mod_perl > will send headers" it i

Re: unreleased sockets using DBI / DBD::mysql under mod_perl?

2001-03-14 Thread Joern Janoschek
On Wed, 14 Mar 2001 18:46:31 +, Greg Cope wrote: >There's no reason why Apache::DBI should not work - by the sounds of it >the connections strings may have been different ? > >Apache::DBI works in an environment where on user ID is used to connect >to the DB mulitple time. If you use two dif

Re: unreleased sockets using DBI / DBD::mysql under mod_perl?

2001-03-14 Thread Greg Cope
Joern Janoschek wrote: > > Hi, > > we are currently developing several Perl scripts for a big > german site with high traffic and the need of fast DB > connections. The webserver are Apache 1.3.14 setup with mod_perl > (current version as far as I know). The scripts connect to a > Mysql 3.2332 o

unreleased sockets using DBI / DBD::mysql under mod_perl?

2001-03-14 Thread Joern Janoschek
Hi, we are currently developing several Perl scripts for a big german site with high traffic and the need of fast DB connections. The webserver are Apache 1.3.14 setup with mod_perl (current version as far as I know). The scripts connect to a Mysql 3.2332 on another machine over a socket connecti

[OT] unsubscribing was Re: Varaible scope & memory under mod_perl

2001-03-14 Thread B. Burke
I really don't see the point in putting list info in the headers. The people that have to ask these questions usually don't have full headers turned on. Why not put it at the bottom of each email instead of the headers like some other lists do? It would take up the same amount of space, and it

Re: cgi_to_mod_perl manpage suggestion

2001-03-14 Thread Stas Bekman
On Wed, 14 Mar 2001, Issac Goldstand wrote: > So basically, PerlSendHeaders On means that it will send information such as > the return code (eg HTTP/1.1 200 OK) ETag, Date and other headers that > Apache generally handles on its own under mod_cgi? > > If so, then I think that all that really nee

Re: Varaible scope & memory under mod_perl

2001-03-14 Thread ed phillips
agh! check the headers! Steven Zhu wrote: > How could I unsubscribe from [EMAIL PROTECTED] you so > much.Steven. > > -Original Message- >

RE: Varaible scope & memory under mod_perl

2001-03-14 Thread Steven Zhu
How could I unsubscribe from [EMAIL PROTECTED] Thank you so much.   Steven. -Original Message-From: Issac Goldstand [mailto:[EMAIL PROTECTED]]Sent: Wednesday, March 14, 2001 9:00 AMTo: [EMAIL PROTECTED]Subject: Varaible scope & memory under mod_perl I have a module that I

Varaible scope & memory under mod_perl

2001-03-14 Thread Issac Goldstand
I have a module that I built on my own to handle user authentication.  At the moment, every perl script that I have calls a method in this module using a cookie (Supplied by browser) as an argument.  Eventually I want to turn this into a mod_perl handler which instead of returning the auther

Re: cgi_to_mod_perl manpage suggestion

2001-03-14 Thread Issac Goldstand
- Original Message - From: "Bill Moseley" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, March 14, 2001 4:34 PM Subject: Re: cgi_to_mod_perl manpage suggestion > At 03:34 PM 03/14/01 +0200, Issac Goldstand wrote: > >> On Tue, 13 Mar 2001, Andrew Ho wrote: > >> > PH>Um, you'

Re: cgi_to_mod_perl manpage suggestion

2001-03-14 Thread Bill Moseley
At 03:34 PM 03/14/01 +0200, Issac Goldstand wrote: >> On Tue, 13 Mar 2001, Andrew Ho wrote: >> > PH>Um, you're getting me confused now, but PerlSendHeader On means that >> > PH>mod_perl WILL send headers. > > I still think that the above line is confusing: It is because mod_perl is >not sending

Re: cgi_to_mod_perl manpage suggestion

2001-03-14 Thread Issac Goldstand
- Original Message - From: "Perrin Harkins" <[EMAIL PROTECTED]> To: "Andrew Ho" <[EMAIL PROTECTED]> Cc: "Issac Goldstand" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Wednesday, March 14, 2001 4:56 AM Subject: Re: cgi_to_mod_perl manpage suggestion > On Tue, 13 Mar 2001, Andrew Ho wrot

Re: [gsar@ActiveState.com: v5.6.1 trial2 is available]

2001-03-14 Thread Jens-Uwe Mager
On Tue, Mar 13, 2001 at 05:57:20PM -0800, Gurusamy Sarathy wrote: > There is a change in behavior here that looks somewhat suspect > because the comments didn't mention it. > > >On Wed, Feb 21, 2001 at 09:32:04PM +0100, Jens-Uwe Mager wrote: > >> +#ifdef USE_NATIVE_DLOPEN > [...] > >> +#else > [.