Re: mod perl installed but not running

2012-02-07 Thread Perrin Harkins
On Tue, Feb 7, 2012 at 7:26 PM, André Warnier wrote: > You can also look at $CGI::POST_MAX in the same documentation. See also LimitRequestBody: http://httpd.apache.org/docs/2.2/mod/core.html#limitrequestbody - Perrin

Re: mod perl installed but not running

2012-02-07 Thread André Warnier
mike cardeiro wrote: - Original Message - From: André Warnier And it doesn't ? The startup message of your Apache seemed to say that it does.. Yes, it now is running and I am on my way! Good, then.. about your wish to limit the size of the files someone can upload, depending on

Re: mod perl installed but not running

2012-02-07 Thread mike cardeiro
- Original Message - > From: André Warnier > > And it doesn't ? > The startup message of your Apache seemed to say that it does.. > Yes, it now is running and I am on my way!

Re: mod perl installed but not running

2012-02-07 Thread André Warnier
mike cardeiro wrote: From: André Warnier To: mod_perl list Now another question : apart from cgi-bin scripts which run much faster under mod_perl, have you already tried writing mod_perl-based Apache modules ? (because that's where the really interesting things start, with mod_perl). I

Re: mod perl installed but not running

2012-02-07 Thread mike cardeiro
> From: André Warnier > To: mod_perl list > > Now another question : apart from cgi-bin scripts which run much faster under > mod_perl, have you already tried writing mod_perl-based Apache modules ? > (because that's where the really interesting things start, with mod_perl). > I am a total ne

Re: mod perl installed but not running

2012-02-07 Thread André Warnier
mike cardeiro wrote: From: André Warnier Very good. And by the same mechanism, you are already avoiding the problem with all the silly (and sometimes dangerous) names that people can give to their files. that is precisely why I did it this way. You would be surprised at the number of

Re: mod perl installed but not running

2012-02-07 Thread mike cardeiro
> From: André Warnier   > Very good. And by the same mechanism, you are already avoiding the problem > with > all the silly (and sometimes dangerous) names that people can give to their > files. that is precisely why I did it this way. > > So if your files in the filesystem only have an u

Re: mod perl installed but not running

2012-02-07 Thread André Warnier
mike cardeiro wrote: From: André Warnier > Now, as long as we're there, what happens in your application if two people upload a file with the same file name ? When the upload happens the script makes an entry in a mysql table with the file name, mime type and other info; the table has a

Re: mod perl installed but not running

2012-02-07 Thread mike cardeiro
> From: André Warnier  > > Now, as long as we're there, what happens in your application if two people > upload a file with the same file name ? > When the upload happens the script makes an entry in a mysql table with the file name, mime type and other info; the table has an autoincremented

Re: mod perl installed but not running

2012-02-07 Thread André Warnier
mike cardeiro wrote: From: André Warnier You should probably analyse your requirements carefully (as to exactly /why/ you want the script to run as that user). I am creating a file transfer site. When a user logs in they can upload a file, so I need the script to write the file to a

Re: mod perl installed but not running

2012-02-07 Thread Dave Hodgkinson
On 7 Feb 2012, at 16:08, mike cardeiro wrote: > > >> From: André Warnier > > >> You should probably analyse your requirements carefully (as to exactly /why/ >> you >> want the script to run as that user). > > > I am creating a file transfer site. When a user logs in they can upload a

Re: mod perl installed but not running

2012-02-07 Thread mike cardeiro
> From: André Warnier > You should probably analyse your requirements carefully (as to exactly /why/ > you > want the script to run as that user).  I am creating a file transfer site.  When a user logs in they can upload a file, so I need the script to write the file to a directory that

Re: mod perl installed but not running

2012-02-07 Thread André Warnier
mike cardeiro wrote: From: Dave Hodgkinson What's MaxRequestsPerChild? MaxRequestsPerChild 1 ...I think I may have figured out the problem. I think mod perl is running but my scripts are not using it. I added SetHandler perl-script PerlResponseHandler ModPerl::Registry

Re: mod perl installed but not running

2012-02-07 Thread mike cardeiro
> From: Dave Hodgkinson > >What's MaxRequestsPerChild? > MaxRequestsPerChild 1 ...I think I may have figured out the problem.  I think mod perl is running but my scripts are not using it.  I added     SetHandler perl-script     PerlResponseHandler ModPerl::Registry     Options +ExecC

Re: mod perl installed but not running

2012-02-07 Thread Dave Hodgkinson
What's MaxRequestsPerChild? Are there several big fat httpd's whose PIDs remain constant? On 7 Feb 2012, at 14:18, mike cardeiro wrote: > I asked this a few weeks ago. Is it possible that mod_perl is running but > the $ENV{MOD_PERL} variable doesn't exist? > > it seems like it is running (t

mod perl installed but not running

2012-02-07 Thread mike cardeiro
I asked this a few weeks ago.  Is it possible that mod_perl is running but the $ENV{MOD_PERL} variable doesn't exist?   it seems like it is running (the site is zippier) and when I restart apache the log file has the following line. Apache/2.2.21 (Unix) mod_ssl/2.2.21 OpenSSL/0.9.8e-fips-rhel5 D

Re: mod perl installed but not running

2012-01-30 Thread André Warnier
Perrin Harkins wrote: On Sun, Jan 29, 2012 at 5:22 PM, mike cardeiro wrote: can anybody help me. I have mod_perl installed, I have "LoadModule perl_module /usr/local/apache/modules/mod_perl.so" in httpd.conf if the installation isn't right, shouldn't the server choke on restart because it can

Re: mod perl installed but not running

2012-01-30 Thread Perrin Harkins
On Sun, Jan 29, 2012 at 5:22 PM, mike cardeiro wrote: > can anybody help me.  I have mod_perl installed, I have "LoadModule > perl_module /usr/local/apache/modules/mod_perl.so" in httpd.conf > > if the installation isn't right, shouldn't the server choke on restart > because it cant load mod_perl.

Re: mod perl installed but not running

2012-01-29 Thread mike cardeiro
can anybody help me.  I have mod_perl installed, I have "LoadModule perl_module /usr/local/apache/modules/mod_perl.so" in httpd.conf if the installation isn't right, shouldn't the server choke on restart because it cant load mod_perl.so? this is driving me crazy.  I tried reinstalling mod_per (

Re: mod perl installed but not running

2012-01-28 Thread Fred Moyer
Try one of the examples on this page: http://perl.apache.org/docs/2.0/user/intro/start_fast.html On Saturday, January 28, 2012 at 2:32 PM, mike cardeiro wrote: > I installed mod_perl, tested it, added "LoadModule perl_module > /usr/local/apache/modules/mod_perl.so" to httpd.conf > > apache

mod perl installed but not running

2012-01-28 Thread mike cardeiro
I installed mod_perl, tested it, added "LoadModule perl_module /usr/local/apache/modules/mod_perl.so" to httpd.conf apache restarts but when I look at the Environment variable as well as the server headers when I make a request, no mod perl. I am running linux, Apache2 mod_perl2.  any ideas...I