Re: CGI::Session or CGI::Application

2005-01-15 Thread Michael Peters
[EMAIL PROTECTED] wrote: Interesting, your comments on CGI::Session vs Apache::Session as I've had nothing but trouble with Apache::Session::File -- session data inconsistently being written to the file. I'm sorry to hear that. Did you mention those problems to the author or bring it up on the mo

Re: CGI::Session or CGI::Application

2005-01-15 Thread sofadmin
Interesting, your comments on CGI::Session vs Apache::Session as I've had nothing but trouble with Apache::Session::File -- session data inconsistently being written to the file. Several years ago I first tried Apache::Session, but had the problem with data being saved in the session, so tried CGI:

RE: [BENCHMARK] Server Resources

2005-01-15 Thread Tom Gazzini
How does this help if the server hosts only one sites which is base on, say, Mason, and where every page request would require mod_perl? -Tom > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Sent: 16 January 2005 01:31 > To: modperl@perl.apache.org > Subject: Re

Re: [BENCHMARK] Server Resources

2005-01-15 Thread sofadmin
. > > Probably the biggest bang for the buck with the least effort or code > changes is to set up a lightweight (i.e. non-mod_perl) reverse proxy httpd > in front of the httpd that is running mod_perl: > Would you recommend squid or mod_proxy?

Re: [BENCHMARK] Server Resources

2005-01-15 Thread sofadmin
> Hey there > > It strikes me that your problem is directly related to memory usage. > Linux machines have a bad problem in that if your apache children get > swapped out ->for any reason at all<-, they will lose any shared memory > that they may have had before being swapped out. When they are s

Re: [mp2] working directory of scripts

2005-01-15 Thread Geoff Mishkin
Thanks a lot for the advice, everyone. This seems to be working for me; I'm just having another error about not being able to load some other library (Apache::Request), but I think I'll be able to figure it out. Just to clarify what I said earlier, my DocumentRoot is not /, but the working direct

Re: [mp2] working directory of scripts

2005-01-15 Thread Torsten Foertsch
On Saturday 15 January 2005 17:08, Geoff Mishkin wrote: > I've got mod_perl (version 1.99.11) all up and running on Apache (version > 2.0.52), but the working directory of my scripts is always set to / when > mod_perl runs them, instead of being the directory the script is in. This http://perl.apa

Re: [mp2] working directory of scripts

2005-01-15 Thread Markus Wichitill
Geoff Mishkin wrote: I've got mod_perl (version 1.99.11) all up and running on Apache (version 2.0.52), but the working directory of my scripts is always set to / when mod_perl runs them, instead of being the directory the script is in. If you happen to use a threaded MPM, you can't use a working

Re: [mp2] working directory of scripts

2005-01-15 Thread ___cliff rayman___
Geoff Mishkin wrote: I've got mod_perl (version 1.99.11) all up and running on Apache (version 2.0.52), but the working directory of my scripts is always set to / when use lib qw(.); # that's a period in between the parens. -- [EMAIL PROTECTED]

Re: [mp2] working directory of scripts

2005-01-15 Thread Sean Davis
- Original Message - From: "Geoff Mishkin" <[EMAIL PROTECTED]> To: Sent: Saturday, January 15, 2005 12:26 PM Subject: Re: [mp2] working directory of scripts Hi Sean, thanks for the reply. However, my problem is that the working directory is set to the root of my filesystem, not the docu

Re: [mp2] working directory of scripts

2005-01-15 Thread Geoff Mishkin
Hi Sean, thanks for the reply. However, my problem is that the working directory is set to the root of my filesystem, not the document root. I'm not sure an alias would help here; the only thing I can think of (other than using chdir()--which would involve changing all the scripts for the webapps

Re: [mp2] working directory of scripts

2005-01-15 Thread Sean Davis
Geoff, You may want to set an alias for the directory for your scripts. You could do something like (from apache2 docs): the Alias directive will map any part of the filesystem into the web space. For example, with Alias /docs /var/web the URL http://www.example.com/docs/dir/file.html will be

[mp2] working directory of scripts

2005-01-15 Thread Geoff Mishkin
I've got mod_perl (version 1.99.11) all up and running on Apache (version 2.0.52), but the working directory of my scripts is always set to / when mod_perl runs them, instead of being the directory the script is in. This wreaks havoc if the scripts are using relative pathnames. I was able to solve

Re: CGI::Session or CGI::Application

2005-01-15 Thread David Hodgkinson
On 15 Jan 2005, at 05:29, Octavian Rasnita wrote: Hi, If I want to use CGI::Session or CGI::Application, can I do it if I use mod_perl or there are better modules for using with MP? CGI::Application JFW for me under mod_perl. -- Dave Hodgkinson CTO, Rockit Factory Ltd. http://www.rockitfactory.com

Re: CGI::Session or CGI::Application

2005-01-15 Thread Michael Peters
Octavian Rasnita wrote: Hi, If I want to use CGI::Session or CGI::Application, can I do it if I use mod_perl or there are better modules for using with MP? Just a couple of thoughts: CGI::Session does not appear to be well maintained. It's very popular and I know many people who have tried to se

Re: CGI::Session or CGI::Application

2005-01-15 Thread Sean Davis
On 1/15/05 0:29, "Octavian Rasnita" <[EMAIL PROTECTED]> wrote: > Hi, > > If I want to use CGI::Session or CGI::Application, can I do it if I use > mod_perl or there are better modules for using with MP? > > Thanks. > > Teddy > Both work quite well under mod_per. The CGI in both of those does