Re: Storing Objects in a Session

2005-02-01 Thread Perrin Harkins
jonathan vanasco wrote: is there any way to store an object into an Apache Session ? Yes, you put any object in Apache::Session as long as it can be handled by Storable. You'll need to tell us what you tried and what didn't work about it before we can help you more. - Perrin

Re: Storing Objects in a Session

2005-02-01 Thread David J Radunz
On Tue, 2005-02-01 at 23:52 -0500, jonathan vanasco wrote: > slightly OT, but i'm doing this in mod_perl! > > server > Apache/2.0.52 (Unix) > mod_perl/1.99_16 > Perl/v5.8.1 > > use > use Apache::Cookie; > use Apache::Request (); > use Apache::Session; > u

Re: setting environment variables

2005-02-01 Thread Randy Kobes
On Tue, 1 Feb 2005, Stas Bekman wrote: > colin_e wrote: > > Geoff, > >I ran into some weirdness in this area (on a Win XP > > machine running Apache 2.0.52) that seemed to be related > > to using lowercase environment variable names. It > > looked as if PerlSetEnv uppercased the variable name

Storing Objects in a Session

2005-02-01 Thread jonathan vanasco
slightly OT, but i'm doing this in mod_perl! server Apache/2.0.52 (Unix) mod_perl/1.99_16 Perl/v5.8.1 use use Apache::Cookie; use Apache::Request (); use Apache::Session; use Apache::Session::File; is there any way to store an object into an A

Re: Memory Question

2005-02-01 Thread Stas Bekman
shawn wrote: Hi, I am sure this is a simple question but I just can’t seem to find any documentation that can tell me exactly what is wrong. The current box I am running my apache 1.3.28 / Mod_perl server is a quad zeon 500 with 3GB of Ram, wow! I won't mind having one of those warming my room o

Re: setting environment variables

2005-02-01 Thread Stas Bekman
colin_e wrote: Geoff, I ran into some weirdness in this area (on a Win XP machine running Apache 2.0.52) that seemed to be related to using lowercase environment variable names. It looked as if PerlSetEnv uppercased the variable names, whereas SetEnv just ignored vars with lower case names.

Re: make test failed on solaris 8

2005-02-01 Thread Stas Bekman
Tulan W. Hu wrote: I'm not sure what went wrong, but there is nothing in the log. And there must be something since you had 'Access Denied' Does it need to access on internet? I need to have a proxy setting to go out. No, no, none of the tests require that. Please do: t/TEST -clean t/TEST -verbose

Memory Question

2005-02-01 Thread shawn
Hi, I am sure this is a simple question but I just can’t seem to find any documentation that can tell me exactly what is wrong. The current box I am running my apache 1.3.28 / Mod_perl server is a quad zeon 500 with 3GB of Ram, the server in general doesn’t get all that many hits, around 30

Re: setting environment variables

2005-02-01 Thread colin_e
Geoff, I ran into some weirdness in this area (on a Win XP machine running Apache 2.0.52) that seemed to be related to using lowercase environment variable names. It looked as if PerlSetEnv uppercased the variable names, whereas SetEnv just ignored vars with lower case names. Sounds weird I

Re: Barrier to implementing web content compression in mod_perl

2005-02-01 Thread Rob Mueller
I'm surprised nobody has mentioned this yet on the list, but one approach I'd recommend is going to 2 separate apache servers. A light frontend one that does all the SSL/compression work, and a heavy backend mod_perl one. http://modperlbook.org/html/ch12_01.html This works fantastic for us, and

Re: [mp2] retrieving the calling handler

2005-02-01 Thread Philippe M. Chiasson
Dorian Taylor wrote: how would i go about retrieving (mod_perl or otherwise) the name of the immediate calling handler of the current handler being executed? i'm trying to do loop checking in which a given handler may need to be executed as a result of multiple subrequests, but never back to back.

Re: Creating a filter for all text/html files

2005-02-01 Thread Geoffrey Young
> I can try to guess the content-type from the filename (which is what > I'm doing now), but I'd prefer not to re-implement Apache's system for > deciding content types, and I'd also like it to Do The Right Thing for > CGI/mod_perl scripts, where you can't tell by the filename what > content-type

Re: Creating a filter for all text/html files

2005-02-01 Thread Philippe M. Chiasson
Scott Gifford wrote: Hello, [...] I've got it working right now, but I'd like it to know the Content-Type that Apache would use for a document, so I can decide whether to filter it and so I can send a correct Content-Type header. $r->content_type should tell you that. http://perl.apache.org/docs/2.