Re: Trouble with sysread in modperl

2003-03-08 Thread Stas Bekman
Liu, Hui (GXS) wrote: Stas, Does this mean read or sysread not work properly in mod_perl and we should stay away from the two functions if we write perl code to work with Apache server? I haven't said that. I doubt so. It could be a bug in your code. I've suggested: I suggest that you l

Re: [mp2] changing http:// to https: in TransHandler

2003-03-08 Thread Nick Tonkin
On Sun, 9 Mar 2003, Jason Galea wrote: > sorry if OT.. Yes, it's OT. Please take SSL questions to an ssl-related list. Or, since the previous post contained cut-n-paste instructions, you could have tried it! :) > please tell me I'm wrong (I'll be a happy camper), but I thought that you > couldn'

Re: [mp2] changing http:// to https: in TransHandler

2003-03-08 Thread beau
On 9 Mar 2003 at 10:53, Jason Galea wrote: > sorry if OT.. > > Hi Nick, > > please tell me I'm wrong (I'll be a happy camper), but I thought that you > couldn't use name virtual server for SSL. > > Name server requires HTTP/1.1 which supplies a Host header so the server can > tell which virtu

Re: Server questions

2003-03-08 Thread Perrin Harkins
Michael Hyman wrote: I am not familiar with clustering Would you run a mod_perl based web site on a cluster? Isn't the point of a cluster to make a group of machines appear to be one? If so, how is that beneficial for web services? All large web sites run on multiple servers, for redundancy an

Re: Optimising cache performance

2003-03-08 Thread Perrin Harkins
Clinton Gormley wrote: For now it's not a distributed system, and I have been using Cache::FileCache. But that still means freezing and thawing objects - which I'm trying to minimise. Other things (IPC::MM, MLDBM::Sync, Cache::Mmap, BerkeleyDB) are significantly faster than Cache::FileCache. I

Re: [mp2] changing http:// to https: in TransHandler

2003-03-08 Thread Jason Galea
sorry if OT.. Hi Nick, please tell me I'm wrong (I'll be a happy camper), but I thought that you couldn't use name virtual server for SSL. Name server requires HTTP/1.1 which supplies a Host header so the server can tell which virtual server you want. With SSL this header is encrypted so apac

RE: Trouble with sysread in modperl

2003-03-08 Thread Liu, Hui (GXS)
Title: RE: Trouble with sysread in modperl Stas,     Does this mean read or sysread not work properly in mod_perl and we should stay away from the two functions if we write perl code to work with Apache server? Regards, Hui -Original Message- From: Stas Bekman [mailto:[EMAIL PRO

Re: DECLINE, ERRORs in the middle of hanlers stack

2003-03-08 Thread Stas Bekman
Ruslan U. Zakirov wrote: On Sat, 8 Mar 2003, Stas Bekman wrote: Ruslan U. Zakirov wrote: Hello All! "Stacked handlers" is a very useful technology, but as I think incomplete. I need some suggestions. My project split content handler in the few parts. And each handler send part of the reque

Re: how to take advantage of mod_perl and analize effectiveness ofefforts?

2003-03-08 Thread Perrin Harkins
On Fri, 2003-03-07 at 18:21, Charlie Smith wrote: > What is being cached by the mod_perl? You should definitely read the mod_perl documentation that another poster pointed you to. However, let me address your core question about what is being cached with mod_perl. Technically, mod_perl doesn't c

Re: [mp2] changing http:// to https: in TransHandler

2003-03-08 Thread beau
On 8 Mar 2003 at 6:45, Nick Tonkin wrote: > On Sat, 8 Mar 2003 [EMAIL PROTECTED] wrote: > > > Hi - > > > > I'm not much of a mod_perl scripter (yet), but having been > > totally defeated my mod_rewrite, I am trying to use mod_perl > > to push clients into using https when accessing a particular >

Re: [mp2] changing http:// to https: in TransHandler

2003-03-08 Thread Nick Tonkin
On Sat, 8 Mar 2003 [EMAIL PROTECTED] wrote: > Hi - > > I'm not much of a mod_perl scripter (yet), but having been > totally defeated my mod_rewrite, I am trying to use mod_perl > to push clients into using https when accessing a particular > server (I am using named-based virtual hosting). > > I w

Re: Optimising cache performance

2003-03-08 Thread gphat
> What implications does this have on the size of the cache that can be > created with IPC::MM I believe that documentation is telling you that each OS governs the amount of shared memory you can have in different ways. Linux, for example, has a variable called shmmax, accessible as /proc/sys/

[mp2] changing http:// to https: in TransHandler

2003-03-08 Thread beau
Hi - I'm not much of a mod_perl scripter (yet), but having been totally defeated my mod_rewrite, I am trying to use mod_perl to push clients into using https when accessing a particular server (I am using named-based virtual hosting). I want to do something like this (the real one will be more co

Re: Trouble with sysread in modperl

2003-03-08 Thread Stas Bekman
Liu, Hui (GXS) wrote: Stas, Yes we tried reading and it works: while ($readData = ) { $buffer.= $readData; $bufferLength = length($buffer); .. } But it's not working with sysread or read, here are the results for read, the last line

Re: [mp2] CGI redirects incorrectly handled?

2003-03-08 Thread Stas Bekman
Mark James wrote: Stas Bekman wrote: Can you send a short script (removing all the irrelevant bits) that we can reproduce the problem with? Made a script that generated the same POST request and same redirect as the problem code. The problem was not reproduced! The only difference I can see be

Re: [mp2] Latest mod_perl funny test results

2003-03-08 Thread beau
On 8 Mar 2003 at 20:56, Stas Bekman wrote: > Stas Bekman wrote: > > Beau E. Cox wrote: > > > >> Hi - > >> > >> I just upgraded to Apache 2.0.44 (source) and mod_perl-1.99-09-dev > >> (CVS source) on my SuSE 8.1 test server. All test scripts completed > >> OK. I am omitting the details of my confi

Re: Server questions

2003-03-08 Thread Ged Haywood
Hi there, On Fri, 7 Mar 2003, Michael Hyman wrote: > I am not familiar with clustering > > Would you run a mod_perl based web site on a cluster? If the performance and the money for the hardware are issues then perhaps before you buy you should spend some time looking into things like alter

Re: [mp2] Latest mod_perl funny test results

2003-03-08 Thread Stas Bekman
Stas Bekman wrote: Beau E. Cox wrote: Hi - I just upgraded to Apache 2.0.44 (source) and mod_perl-1.99-09-dev (CVS source) on my SuSE 8.1 test server. All test scripts completed OK. I am omitting the details of my configuration - will supply them if anyone thinks this problem is related to them.