RE: handling eval in ePerl

2002-01-21 Thread Matt Sergeant
-Original Message- From: Perrin Harkins [mailto:[EMAIL PROTECTED]] My problem is that die works fine as such but it conks out if done inside a eval. Okay, I missed the part about eval() before. Take a look at this code from Parse::ePerl::Evaluate() : local $SIG{'__DIE__'} =

RFC: Thumbnail generator

2002-01-21 Thread Issac Goldstand
I recently decided that Apache::Gallery is really nice if you want to sit down and start fiddling with templates, but that I needed to make a quick-easy version for myself. The design is to be extremely simple, and is divided into two seperate modules. The first is an on-the-fly thumbnail

Re: mod_deflate problem with chunked encoding

2002-01-21 Thread Igor Sysoev
On Fri, 18 Jan 2002, Jeremy Howard wrote: Geoffrey Young wrote: Philip Mak wrote: The following webpage on a mod_deflate enabled server is not working correctly in some browsers: ... a few of us have been wondering where all the traffic on these modules has been coming from, is all

Re: QUESTION: how to debug segfault apache1.3.22/mod_perl1.26/HTML::Mason

2002-01-21 Thread Ged Haywood
Hi there, On Wed, 16 Jan 2002, Chris Hutchinson wrote: I've recently built apache 1.3.22/mod_perl 1.26, statically with perl 5.6.1 on linux RH 7.0. [snip] ccversion='', gccversion='2.96 2731 (Red Hat Linux 7.0)', At the risk of sounding like a broken record, have you tried

Re: handling eval in ePerl

2002-01-21 Thread Mithun Bhattacharya
Perrin Harkins wrote: local $SIG{'__DIE__'} = sub { $error .= $_[0]; }; That's going to kill your exception handling code. You need to change that if you want to be able to use eval() in your code. Matt has an explanation of this in the exceptions part of the mod_perl Guide. Hmm, I

Re: Thumbnail generator

2002-01-21 Thread Gerald Richter
I recently decided that Apache::Gallery is really nice if you want to sit down and start fiddling with templates, but that I needed to make a quick-easy version for myself. The design is to be extremely simple, and is divided into two seperate modules. The first is an on-the-fly thumbnail

Re: handling eval in ePerl

2002-01-21 Thread Perrin Harkins
print STDERR blah blah blah is going to the browser but I am not really worried about it too much unless it is something I should worry about - anyone care to comment on that ? Printing error messages to the public is a potential security risk, so you have to decide how paranoid you want to

Forking another process in Apache?

2002-01-21 Thread eCap
A newbie question here... I have a requirement to spin off a SQL loader process after a web page (a form which is qualified and accepted) has been submitted. Does it make sense, or more importantly, is it dangerous to apply a fork at the end of a module such as this: sub handler { # do some

Re: Forking another process in Apache?

2002-01-21 Thread Perrin Harkins
I have a requirement to spin off a SQL loader process after a web page (a form which is qualified and accepted) has been submitted. Does it make sense, or more importantly, is it dangerous to apply a fork at the end of a module such as this: You're probably better off using a cleanup

Re: Thumbnail generator

2002-01-21 Thread Robert Landrum
At 4:13 PM +0100 1/21/02, Gerald Richter wrote: I recently decided that Apache::Gallery is really nice if you want to sit down and start fiddling with templates, but that I needed to make a quick-easy version for myself. The design is to be extremely simple, and is divided into two seperate

Re: Thumbnail generator

2002-01-21 Thread Issac Goldstand
Robert Landrum wrote: At 4:13 PM +0100 1/21/02, Gerald Richter wrote: I recently decided that Apache::Gallery is really nice if you want to sit down and start fiddling with templates, but that I needed to make a quick-easy version for myself. The design is to be extremely simple, and is

Re: Thumbnail generator

2002-01-21 Thread Dave Hodgkinson
Issac Goldstand [EMAIL PROTECTED] writes: Part of the idea here is to do everything on-the-fly so that changes on the filesystem (in terms of adding/removing pictures) will IMMEDIATELY take effect (including caching, etc) on the web interface. That means no thumbnails to start with. Yeah,

Cgi permission Questions

2002-01-21 Thread Joe Bifano
Hi all, My first time on the list. I have been looking at the archives but am not able to find anything on this. I have 3 web servers, 1 development/nfs server and 2 database mysql servers in a cluster server farm. All sites are owned by our company so nobody will be on the system except for

mod_perl installation

2002-01-21 Thread Rasoul Hajikhani
Folks, I get this message when running Makefile.pm: Your Perl is configured to link against libgdbm, but libgdbm.so was not found. You might need to install Perl from source I have checked the /usr/lib directory for libgdbm.so and it is not there. Here is the result of perl -V | grep libs:

[ANNOUNCE] Apache::GD::Thumbnail-0.01

2002-01-21 Thread Issac Goldstand
The uploaded file Apache-GD-Thumbnail-0.01.tar.gz has entered CPAN as file: $CPAN/authors/id/I/IS/ISAAC/Apache-GD-Thumbnail-0.01.tar.gz size: 2428 bytes md5: 5c46eca45e213e98a2d2388b7a6fcb8a NAME Apache::GD::Thumbnail - Apache module which generates on- the-fly

Re: Cgi permission Questions

2002-01-21 Thread Perrin Harkins
Here is the problem: create.pl is owned by test and group test and has file permissions 755. When the create.pl script is run it becomes owner apache and group apache and has to create new files and directories on the machine. All of the new files and directories then become owner apache

Re: [OT] Cgi permission Questions

2002-01-21 Thread Robert Landrum
At 12:26 PM -0700 1/21/02, Joe Bifano wrote: Hi all, My first time on the list. I have been looking at the archives but am not able to find anything on this. I have 3 web servers, 1 development/nfs server and 2 database mysql servers in a cluster server farm. All sites are owned by our

Re: mod_perl installation

2002-01-21 Thread Robert Landrum
At 11:35 AM -0800 1/21/02, Rasoul Hajikhani wrote: Folks, I get this message when running Makefile.pm: Your Perl is configured to link against libgdbm, but libgdbm.so was not found. You might need to install Perl from source I have checked the /usr/lib directory for libgdbm.so and it is not

Re: Cgi permission Questions

2002-01-21 Thread oscar
- Original Message - From: Joe Bifano [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, January 21, 2002 8:26 PM Subject: Cgi permission Questions Hi all, My first time on the list. I have been looking at the archives but am not able to find anything on this. I have 3 web

Re: mod_perl installation

2002-01-21 Thread Robert Landrum
At 11:35 AM -0800 1/21/02, Rasoul Hajikhani wrote: Folks, I get this message when running Makefile.pm: Your Perl is configured to link against libgdbm, but libgdbm.so was not found. You might need to install Perl from source Actually, I just checked... I removed perl-5.6.x/ext/*_File Rob

Re: Cgi permission Questions

2002-01-21 Thread Stephen Reppucci
On Mon, 21 Jan 2002, Joe Bifano wrote: Hi all, My first time on the list. I have been looking at the archives but am not able to find anything on this. Exactly. Because this list is about perl, specifically mod_perl, while your question is about Apache, and its configuration. Please

Re: Cgi permission Questions

2002-01-21 Thread Joe Bifano
Stephen, I know that this is for perl and mod_perl BUT in my question if you looked I specificaly said that we want to upgrade and impleiment our site to mod_perl using HTML::MASON. With saying that , I wanted to make sure that if I made some changes to my Apache setup now , I want to make sure

Apache.pm failed to load!.

2002-01-21 Thread Rasoul Hajikhani
Folks, After installing mod_perl-1.25 apache_1.3.22 I get this error message! I know this is a really serious error, but I was wondering if any one could tell me why I would get this since the installation of both mod_perl and apache went through without a problem?! -r

Re: Apache.pm failed to load!.

2002-01-21 Thread ___cliff rayman___
first off, that looks like a spanking brand new version of apache but an older version of mod_perl. you will probaby be happier with mod_perl-1.26 what happens when you try the following from the command line? perl -MApache -e 1 Rasoul Hajikhani wrote: Folks, After installing mod_perl-1.25

Re: Apache.pm failed to load!.

2002-01-21 Thread Rasoul Hajikhani
___cliff rayman___ wrote: first off, that looks like a spanking brand new version of apache but an older version of mod_perl. you will probaby be happier with mod_perl-1.26 what happens when you try the following from the command line? perl -MApache -e 1 Rasoul Hajikhani wrote:

disable mod_perl for specific loation/virtual host

2002-01-21 Thread pilsl
I've a server that has pl-files for mod_perl and cgi for standard-cgi and now got a bunch of pl-files that do not run under mod_perl and cannot be renamed in cgi, cause they are linked in frames on distant hosts where I dont have access too. So I need to disable mod_perl for these pl-files

mod_perl failed at make test

2002-01-21 Thread Rasoul Hajikhani
After running make test (for the first time) here is waht I get: *** Error code 2 (bu21) mod_perl make test gives me this: (cd ../apache_1.3.22 PERL5LIB=/home/rasoul/mod_perl-1.26/lib make) === src === src/regex === src/regex === src/os/unix === src/os/unix === src/ap === src/ap === src/main

disable mod_perl for certain virtual hosts/folders

2002-01-21 Thread pilsl
On my Apache mod_perl is generally enabled with the following statement: Directory /data/apache Files ~ \.pl$ SetHandler perl-script PerlHandler Apache::Registry Options +ExecCGI /Files /Directory Now I've couple of pl-files in a certain virtual host that dont

Re: Forking another process in Apache?

2002-01-21 Thread Mike P. Mikhailov
Hello eCap, Monday, January 21, 2002, 10:45:37 PM, you wrote: e A newbie question here... e I have a requirement to spin off a SQL loader process after a web page (a e form which is qualified and accepted) has been submitted. Does it make e sense, or more importantly, is it dangerous to apply

Re: Thumbnail generator

2002-01-21 Thread Gerald Richter
ImageMagick is way too slow for use in a production system. Especially if your resizing large images into thumbnails. Apache::ImageMagick will cache the created thumbnail, so it only has to be done once and can it automaticly recreate the thumbnail if the pictures on disk changes. Gerald

cvs commit: modperl-2.0/xs/maps apache_functions.map modperl_functions.map

2002-01-21 Thread stas
stas02/01/21 00:27:30 Modified:xs/Apache/Response Apache__Response.h xs/maps apache_functions.map modperl_functions.map Log: - write a wrapper for $r-set_last_modified() to be the same as in 1.x - specify default values for $r-set_content_length and

cvs commit: modperl-2.0/t/response/TestApache compat2.pm compat.pm

2002-01-21 Thread stas
stas02/01/21 00:32:46 Modified:t/apache compat.t t/response/TestApache compat.pm Added: t/response/TestApache compat2.pm Log: - split compat.pm test into compat.pm (for client side validation) and compat2.pm (for sub-tests that can be completed on the

cvs commit: modperl-2.0/todo missing_old_features.txt

2002-01-21 Thread stas
stas02/01/21 00:40:54 Modified:todo missing_old_features.txt Log: - Apache::File has been ported Revision ChangesPath 1.17 +1 -1 modperl-2.0/todo/missing_old_features.txt Index: missing_old_features.txt

cvs commit: modperl/Apache Apache.pm

2002-01-21 Thread stas
stas02/01/21 06:32:35 Modified:Apache Apache.pm Log: - document $r-location Submitted by: Issac Goldstand [EMAIL PROTECTED] Reviewed by: stas Revision ChangesPath 1.69 +6 -0 modperl/Apache/Apache.pm Index: Apache.pm