Re: Cookies and IE in mod_perl

2002-03-23 Thread Cees Hek
Some browsers don't accept cookies sent allong with a redirect header. A simple workaround is to leave your cookie in the header, but move the redirect to a META HTTP-EQUIV tag in a blank HTML document. I'm not sure if IE 6.0 suffers from this but I suspect that this is your problem. So this

Re: Fw: Re: Cookies and IE in mod_perl

2002-03-23 Thread Dzuy Nguyen
There are different security levels that must be set.  You can also specifically tell the browser to accept all cookies from a particular domain.  There is an article on MS site about this.  I forgot what it was. You can probably search for it on google. Frank Wiles wrote: [EMAIL PROTECTED]">

Re: Be carefull with apache 1.3.24

2002-03-23 Thread Stas Bekman
Pedro Melo Cunha wrote: > Hi, > > a bit of history: I read on the documentation the new mod_proxy feature > called ProxyIOBufferSize which allows for even better handling of lasrge > mod_perl httpd's. This babby, and another little patch that also made it > (closing the backend connection as soon

Re: Cookies and IE in mod_perl

2002-03-23 Thread Jesse and Rebecca Stay
Ok - I got rid of the Apache::Cookie stuff, and am now doing things manually, but it still doesn't generate a cookie in IE. It still works in Netscape. I get a redirect, but no cookie. Here is my code: my $r = Apache->request; $r->content_type('text/html'); $r->err_headers_out->

Re: Cookies and IE in mod_perl

2002-03-23 Thread Jesse and Rebecca Stay
I guess in particular, does anyone know of any known issues with Apache::Cookie and IE6.0 (or any other versions)? On Saturday 23 March 2002 07:09 pm, Jesse and Rebecca Stay wrote: > Here is the code I use (in this particular case it is being used with a > redirect, but it doesn't work in any ca

Be carefull with apache 1.3.24

2002-03-23 Thread Pedro Melo Cunha
Hi, a bit of history: I read on the documentation the new mod_proxy feature called ProxyIOBufferSize which allows for even better handling of lasrge mod_perl httpd's. This babby, and another little patch that also made it (closing the backend connection as soon as possible) allows for me to have

Re: Cookies and IE in mod_perl

2002-03-23 Thread Jesse and Rebecca Stay
Here is the code I use (in this particular case it is being used with a redirect, but it doesn't work in any case.): my $cookieContent = Apache::Cookie->new( $r, -name=> 'userSession', -value => $cookieValue,

Fw: Re: Cookies and IE in mod_perl

2002-03-23 Thread Frank Wiles
On Sat, 23 Mar 2002 18:52:14 -0500 Jesse and Rebecca Stay <[EMAIL PROTECTED]> wrote: > Has anyone had any issues in getting cookies to work with IE using mod_perl? > I have tried using both CGI::Cookie and Apache::Cookie, and in both instances > it works just fine under Netscape, but on IE it

Re: AddModule mod_perl.c

2002-03-23 Thread John Kolvereid
Hi Ged, Which Guide? Please advise. Thanks. John Kolvereid --- Ged Haywood <[EMAIL PROTECTED]> wrote: > Hi there, > > On Sat, 23 Mar 2002, John Kolvereid wrote: > > >I am trying to install/configure mod_perl. I > think > > it is installed but not quite sure. > > It's in the

Cookies and IE in mod_perl

2002-03-23 Thread Jesse and Rebecca Stay
Has anyone had any issues in getting cookies to work with IE using mod_perl? I have tried using both CGI::Cookie and Apache::Cookie, and in both instances it works just fine under Netscape, but on IE it doesn't even try to set the cookie. Any ideas? -Jesse Stay

Re: AddModule mod_perl.c

2002-03-23 Thread Ged Haywood
Hi there, On Sat, 23 Mar 2002, John Kolvereid wrote: >I am trying to install/configure mod_perl. I think > it is installed but not quite sure. It's in the Guide. (How do I know if mod_perl is installed?) > According to the mod_perl Reference Guide the line > AddModule mod_perl.c > sh

Re: Problems installing on Solaris 8

2002-03-23 Thread Ged Haywood
Hi all, Wayne Pascoe <[EMAIL PROTECTED]> writes: > > [8:37am]# httpd -l > > Compiled-in modules: > > http_core.c > > mod_so.c > > mod_perl.c > > suexec: disabled; invalid wrapper /usr/local/apache/bin/suexec I didn't think I'd been dreaming. > As a matter of principle, I tend not to mix

Re: Performace...

2002-03-23 Thread Perrin Harkins
> Im curious as to the difference in performance when using perl scripts with > Apache::Registry or writing complete Apache Modules in Perl that conform to > the API? Check the list archives for benchmarks by Joshua Chamas. Note that there are other reasons to use handlers instead of Registry, w

Re: Performace...

2002-03-23 Thread Geoffrey Young
John Von Essen wrote: > Im curious as to the difference in performance when using perl scripts with > Apache::Registry or writing complete Apache Modules in Perl that conform to > the API? straight mod_perl handlers are faster than Apache::Registry, but they lack some of the convenience that

Performace...

2002-03-23 Thread John Von Essen
Im curious as to the difference in performance when using perl scripts with Apache::Registry or writing complete Apache Modules in Perl that conform to the API? -jve

Re: mod_perl developers cookbook... a kitchen hand asks... doh!

2002-03-23 Thread Per Einar Ellefsen
At 17:30 23.03.2002 +, Jeff wrote: >Just Curious of Hither Green writes: > >So, I am working my way through, and get to page 83 which has a little >spellette: > >sub handler { > my $r = shift; > print STDERR $r->as_string(); > return OK; >} > >looks easy peasy - but > >1) OK -> Bareword

Re: mod_perl developers cookbook... a kitchen hand asks... doh!

2002-03-23 Thread Geoffrey Young
> > "OK" is a constant for the HTTP return code 200. close. OK is 0, which is different from HTTP_OK which is 200. --Geoff

Re: mod_perl developers cookbook... a kitchen hand asks... doh!

2002-03-23 Thread Geoffrey Young
Jeff wrote: > Just Curious of Hither Green writes: > > I feel like a right tit for asking this... > > I already have mod_perl et al running, including my persistent DB connections > etc etc, but following gourmet cookery advice on this list induced me to > buy a copy of the mod_perl Dev

Re: mod_perl developers cookbook... a kitchen hand asks... doh!

2002-03-23 Thread Ade Olonoh
> 1) OK -> Bareword "OK" not allowed while "strict subs" in use >well, that's easy to fix - I must be missing a 'use' [which one??] >I assume OK is 1 - ie TRUE "OK" is a constant for the HTTP return code 200. Add: use Apache::Constants ':common'; to the top of your prog. and

mod_perl developers cookbook... a kitchen hand asks... doh!

2002-03-23 Thread Jeff
Just Curious of Hither Green writes: I feel like a right tit for asking this... I already have mod_perl et al running, including my persistent DB connections etc etc, but following gourmet cookery advice on this list induced me to buy a copy of the mod_perl Developers Cookbook... and yes, my na

AddModule mod_perl.c

2002-03-23 Thread John Kolvereid
Hi, I am trying to install/configure mod_perl. I think it is installed but not quite sure. According to the mod_perl Reference Guide the line AddModule mod_perl.c should be added to my httpd.conf, otherwise mod_perl is not activated. Yet when I include the line and try to load any page

Re: Problems installing on Solaris 8

2002-03-23 Thread Dave Hodgkinson
Wayne Pascoe <[EMAIL PROTECTED]> writes: > Dave Hodgkinson <[EMAIL PROTECTED]> writes: > > > Ged Haywood <[EMAIL PROTECTED]> writes: > > > > > Something very wrong there. Do you have squeaky clean source trees? > > > I'd be tempted to erase the lot and start again. What's the compiler? > > >

Re: PerlModule hell - questions and comments

2002-03-23 Thread Kee Hinckley
At 7:04 PM +0800 3/23/02, Stas Bekman wrote: >If all you want to do is to be able to load the module only during >the restart use in startup.pl: > > if ($Apache::Server::ReStarting) { > require "My::Sensitive::Module"; > } No, the module has to be loaded during both phases, other wise

Re: Problems installing on Solaris 8

2002-03-23 Thread Dave Hodgkinson
Ged Haywood <[EMAIL PROTECTED]> writes: > Something very wrong there. Do you have squeaky clean source trees? > I'd be tempted to erase the lot and start again. What's the compiler? > Post your httpd.conf? Have you built other (older) versions of Apache > and mod_perl on the same OS? httpd -l

Re: Problems installing on Solaris 8

2002-03-23 Thread Ged Haywood
Hi there, On 23 Mar 2002, Wayne Pascoe wrote: > Ged Haywood <[EMAIL PROTECTED]> writes: > > > Have you tried sompiling static instead of DSO? > > This is a static build. Sorry, I've deleted the original message. Why did I think it wasn't? I must be having a very bad day today. > if I compil

Re: PerlModule hell - questions and comments

2002-03-23 Thread Stas Bekman
Kee Hinckley wrote: > At 4:18 PM -0500 3/22/02, Perrin Harkins wrote: > >> Modules loaded with PerlModule and PerlRequire are not supposed to be >> loaded again the second time. I seem to remember that they are loaded >> again when using DSO though, so if you're using DSO you may want to >> r

Re: Asia To USA Shipping Rates

2002-03-23 Thread Ask Bjoern Hansen
On Mon, 18 Mar 2002, Geoffrey Young wrote: > [EMAIL PROTECTED] wrote: > > > > We have a full collection of wholesale freight rate calculators at > > Aaaahhh!! Ask, anybody, make it stop!!! Wow. The lusers had actually subscribed that address to be able to post. I'll do what I can to make it

Re: [ANNOUNCE] The New "mod_perl" logo - results now in...

2002-03-23 Thread Ask Bjoern Hansen
On Sat, 16 Mar 2002 [EMAIL PROTECTED] wrote: [...] > To make things thing even more complicated I agree the need of a name > with a sounding image, which will help mod_perl to grow into corporate > computing (our future jobs). > > Recently I had a discussion with a Java programmer, who said that

Re: 'Pinning' the root apache process in memory with mlockall

2002-03-23 Thread Bill Marrs
At 10:53 PM 3/22/2002, Stas Bekman wrote: >top and libgtop use the same source of information, so it has nothing to >do with these tools. 'top' has the ability to display SWAP on a per-process basis (you have to change the defaults to see it, but it's there). I didn't find this per-process SWA

Re: Problems installing on Solaris 8

2002-03-23 Thread Wayne Pascoe
Ged Haywood <[EMAIL PROTECTED]> writes: > Hi there, > > On 23 Mar 2002, Wayne Pascoe wrote: > > > Why does mod_perl need ssl and crypto ? Just curious... > > It doesn't. Have you tried sompiling static instead of DSO? There > have been DSO problems on Solaris (and elsewhere :) in the past bu

Re: Apache and Perl with Virtual Host [OT]

2002-03-23 Thread Ged Haywood
Hi again, Oh, rats, I'm sorry, I shouldn't have sent that. I'm not sure that it's your 'Options' settings at all. Have you got the right execute permisions on the directories/files that you're trying to get Apache to search and/or execute? Have you got anything in the error_log? By way of fur

Re: Problems installing on Solaris 8

2002-03-23 Thread Ged Haywood
Hi there, On 23 Mar 2002, Wayne Pascoe wrote: > Why does mod_perl need ssl and crypto ? Just curious... It doesn't. Have you tried sompiling static instead of DSO? There have been DSO problems on Solaris (and elsewhere :) in the past but I thought they were mostly put to bed now. 73, Ged.