Re: Apache offers to download the perl script rather than execute it!

2007-11-20 Thread Roberto C . Sánchez
he handler to everything in that location. The extension is only necessary if you want it to apply to only items with that extension. Regards, -Roberto -- Roberto C. Sánchez http://people.connexer.com/~roberto http://www.connexer.com signature.asc Description: Digital signature

Re: Apache offers to download the perl script rather than execute it!

2007-11-20 Thread Roberto C . Sánchez
been checked locally for > viruses but we can accept no responsibility once it has left our > systems. > Communications on Institute computers are monitored to secure the > effective operation of the systems and for other lawful purposes. -- Roberto C. Sánchez http://people.conne

Re: get apache's concurrent connection number

2007-11-25 Thread Roberto C . Sánchez
er http > server. So I need to write a mp module to do that. > > Thanks for any guide. Umm, why would you want to do that? Why not just use a proper load balancing solution? Regards, -Roberto -- Roberto C. Sánchez http://people.connexer.com/~roberto http://www.connexer.com signature.asc Description: Digital signature

Re: headers_out

2007-12-01 Thread Roberto C . Sánchez
> Does someone information, how I could fix this problem? Have you tried adding "PerlModule Apache2::compat" in your httpd.conf? Regards, -Roberto -- Roberto C. Sánchez http://people.connexer.com/~roberto http://www.connexer.com signature.asc Description: Digital signature

Re: restrict virtual hosts programs

2008-01-11 Thread Roberto C . Sánchez
ams/suexec.html > I prefer to run multiple httpd processes on high numbered ports (one for each site), then have the main httpd on port 80 do proxypass proxypassrever and name-based vhosting. Then you can also customize each httpd to only load what it needs. Regards, -Roberto --

Re: Question about open()

2008-02-06 Thread Roberto C . Sánchez
dir = cwd . '/'; Then I can make the $base_dir available globally and just use that anywhere I need to refer to an on disk file. Regards, -Roberto -- Roberto C. Sánchez http://people.connexer.com/~roberto http://www.connexer.com signature.asc Description: Digital signature

Re: Question about open()

2008-02-06 Thread Roberto C . Sánchez
On Wed, Feb 06, 2008 at 10:47:08PM -0500, Mag Gam wrote: > What is global.asa? > > Sorry, I am somewhat new at this... > My mistake. I am using Apache::ASP (which is built on mod_perl) for my pages. Sorry for the confusion. Regards, -Roberto -- Roberto C. Sánchez http://people.

Re: apache process size

2008-02-22 Thread Roberto C . Sánchez
enough information. What is your basis the 60MB, 80MB, 120MB, etc, numbers? Regards, -Roberto -- Roberto C. Sánchez http://people.connexer.com/~roberto http://www.connexer.com signature.asc Description: Digital signature

Re: Amazon

2008-02-23 Thread Roberto C . Sánchez
red for choosing IBM." Regards, -Roberto -- Roberto C. Sánchez http://people.connexer.com/~roberto http://www.connexer.com signature.asc Description: Digital signature

Re: Custom Object-Oriented Module using HTML::Template

2008-03-12 Thread Roberto C . Sánchez
art a new thread by sending a new message to the list. Don't just repky some random message and change the subject line. Regards, -Roberto -- Roberto C. Sánchez http://people.connexer.com/~roberto http://www.connexer.com signature.asc Description: Digital signature

Re: Custom Object-Oriented Module using HTML::Template

2008-03-12 Thread Roberto C . Sánchez
d change the subject > >line. > > At least give him credit for showing plenty of diagnostic information. > That's something we rarely see with newbies. :) > True. I apologize for overlooking that. Regards, -Roberto -- Roberto C. Sánchez http://people.connexer.com/~roberto http://www.connexer.com signature.asc Description: Digital signature

Re: Virtual host with mod_perl

2008-03-20 Thread Roberto C . Sánchez
ation of a virtual > server hosted. > (I query the db using the requested hostname) > Why not just configure your system such that the requested hostname corresponds to its location on the filesystem. It seems like you are doing to much work if you need to query a database. Regards, -Roberto

Re: modperl with SSL

2008-03-24 Thread Roberto C . Sánchez
Would something like iprelay or stunnel not be sufficient for your needs? Regards, -Roberto -- Roberto C. Sánchez http://people.connexer.com/~roberto http://www.connexer.com signature.asc Description: Digital signature

Trouble with mod_perl, Archive::Zip and taint mode

2008-05-25 Thread Roberto C . Sánchez
unning this site is Debian Etch, so unfortunately, I cannot use Archive::Extract which is included in Perl 5.10.0. -- Roberto C. Sánchez http://people.connexer.com/~roberto http://www.connexer.com signature.asc Description: Digital signature

Re: Trouble with mod_perl, Archive::Zip and taint mode

2008-05-27 Thread Roberto C . Sánchez
Does anybody have any ideas on this? Regards, -Roberto On Sun, May 25, 2008 at 03:45:24PM -0400, Roberto C. Sánchez wrote: > [Please CC me on all replies] > > So, I am writing some simple code to allow a user to upload his own > photo galleries. The section of code giving me prob

Re: Trouble with mod_perl, Archive::Zip and taint mode

2008-05-29 Thread Roberto C . Sánchez
On Tue, May 27, 2008 at 05:48:14PM -0400, Perrin Harkins wrote: > On Sun, May 25, 2008 at 3:45 PM, Roberto C. Sánchez > > [Sun May 25 08:57:35 2008] [error] [asp] [11570] [error] error executing > > code for include /var/www/templates/Photo_page_edit.tmpl: Insecure > > dep

Undefined subroutine error

2009-04-13 Thread Roberto C . Sánchez
y insight, I would really appreciate it. This has really been causing me to wrack my brain since it only occurs on the production server and not on the development server (both are identically configured). Regards, -Roberto -- Roberto C. Sánchez http://people.connexer.com/~roberto http://www.con

Re: Undefined subroutine error

2009-04-13 Thread Roberto C . Sánchez
uction server. I have enabled them in production to see if that makes a difference. For the moment, the 500 errors have seemingly disappeared. However, they have on occasion disappeared only to return after a day or so. But for now it appears to be OK for a few tens of thousands of requests. Regards, -Roberto -- Roberto C. Sánchez http://people.connexer.com/~roberto http://www.connexer.com signature.asc Description: Digital signature

Re: Undefined subroutine error

2009-04-14 Thread Roberto C . Sánchez
od_disk_cache on the production server did not do the trick. The problem persists. Regards, -Roberto -- Roberto C. Sánchez http://people.connexer.com/~roberto http://www.connexer.com signature.asc Description: Digital signature

Re: Undefined subroutine error

2009-04-14 Thread Roberto C . Sánchez
On Tue, Apr 14, 2009 at 12:36:25PM -0400, Perrin Harkins wrote: > On Tue, Apr 14, 2009 at 8:38 AM, Roberto C. Sánchez > wrote: > > OK, so the changes to include the mod_include and mod_disk_cache on the > > production server did not do the trick.  The problem persists. > >

Re: Undefined subroutine error

2009-04-14 Thread Roberto C . Sánchez
On Tue, Apr 14, 2009 at 01:21:09PM -0400, Perrin Harkins wrote: > On Tue, Apr 14, 2009 at 12:48 PM, Roberto C. Sánchez > wrote: > > As far as loading the module, I have tried: > > > >  - "PerlModule Example::Image" in .htaccess > >  - "use Examp

Re: Undefined subroutine error

2009-04-14 Thread Roberto C . Sánchez
On Tue, Apr 14, 2009 at 07:48:49PM +0200, Torsten Foertsch wrote: > On Tue 14 Apr 2009, Roberto C. Sánchez wrote: > > I am currently using the latter call everywhere and it is still > > generating the "Undefined subroutine" error. > > Would it be possible to post

Re: Undefined subroutine error

2009-04-15 Thread Roberto C . Sánchez
gt;print(Dumper(\%INC)); \ > return 0; \ > }" > > > It prints %INC to the browser. So you can check if your module is loaded > from the correct path. > This is in the output: 'Example/Image.pm' => '/etc/perl/Example/Image.pm' Regards, -Roberto

Re: Undefined subroutine error

2009-04-21 Thread Roberto C . Sánchez
On Tue, Apr 14, 2009 at 01:56:57PM -0400, Perrin Harkins wrote: > On Tue, Apr 14, 2009 at 1:34 PM, Roberto C. Sánchez > wrote: > > On Tue, Apr 14, 2009 at 01:21:09PM -0400, Perrin Harkins wrote: > >> On Tue, Apr 14, 2009 at 12:48 PM, Roberto C. Sánchez > >> wrote

Re: Undefined subroutine error

2009-04-21 Thread Roberto C . Sánchez
On Tue, Apr 21, 2009 at 01:30:58PM -0400, Perrin Harkins wrote: > On Tue, Apr 21, 2009 at 12:22 PM, Roberto C. Sánchez > wrote: > > So, on a lark I tried moving the "PerlModule Example::Image" from the > > .htacess file to the virtual host configuration.  I then resta