Re: Web development platform contest and Perl / mod_perl

2006-11-14 Thread Octavian Rasnita
Oh yes in the last period I have seen that other languages are more and more used comparing with perl. I can see more and more programs made in Python, including in fields in which there are no perl programs at all, like a screen reader for example. I see a bigger and bigger interest in Ruby and Ru

Re: Is there also a way to count the bytes received?

2006-11-14 Thread Fred Moyer
Hans de Groot wrote: Hi, It's me again with more impossible questions. I am logging the bytes sent to a database, I would also like to log the bytes received is there any small chance this can be done? You could probably do this with an input filter if I am understanding your question correc

Re: Is there also a way to count the bytes received?

2006-11-14 Thread Srebrenko Sehic
I am logging the bytes sent to a database, I would also like to log the bytes received is there any small chance this can be done? AFAIK, not in mod_perl. However, you can do it with an Apache module and save the data via eg. r->notes for mod_perl.

RE: Basic Mod_Perl 1 and Apache 1.3 Issue: Unable to get the requested page.

2006-11-14 Thread Sumit Shah
Thanks Perrin. I was able to figure out the problem. It had to do with running Apache as a service versus standalone. If I run it as a service the code works as is and returns the requested page. But if I run it as a service on Win2K it does not return the page. Guess it has to do with something

RE: Web development platform contest and Perl / mod_perl

2006-11-14 Thread Hahn, Christopher
...and yet I wonder if the gentleman is correct in suggesting that "It would be good for the reputation for mod_perl and Perl" If so, then while it might not be the smartest thing in everyone's opinion, I would still like to see Perl stand out well against other tools! Just my $0.02 -Origi

Re: Using the Eclipse debugger with mod_perl

2006-11-14 Thread emarkert
There's a how-to from IBM check out: http://www-128.ibm.com/developerworks/edu/os-dw-os-epic-i.html Also, here's a link from the EPIC sourceforge page: http://e-p-i-c.sourceforge.net/running_perl_scripts_within_eclipse/entry.htm   == Those wh

Re: Basic Mod_Perl 1 and Apache 1.3 Issue: Unable to get the requested page.

2006-11-14 Thread Perrin Harkins
Sumit Shah wrote: 1) When the filter is setup 38.118.10.237 - - [14/Nov/2006:18:57:17 -0500] "GET /snflwr_doc_html/asut0002.htm HTTP/1.1" 200 - 2) When I remove the filter (is remove the Perl Module) 38.118.10.237 - - [14/Nov/2006:18:58:17 -0500] "GET /snflwr_doc_html/asut0002.htm HTTP/1.1" 200

Basic Mod_Perl 1 and Apache 1.3 Issue: Unable to get the requested page.

2006-11-14 Thread Sumit Shah
Hello, I am facing the following issue: I have installed the following module inside Apache 1.3 using modperl 1 under Oracle 9i Application Server. package Apache::Proxy; use mod_perl (); $VERSION = '1.01'; sub handler{ } 1; __END__ I have set the following directive/filter

Re: Web development platform contest and Perl / mod_perl

2006-11-14 Thread Alvar Freude
Hi, -- Jonathan Vanasco <[EMAIL PROTECTED]> wrote: > honestly, that contest looks ridiculously stupid and ill conceived. honestly, it makes no sense to talk about how ridiculously this (or any other contest) is. It is in the world, and we had a fight to get Perl on the list of participanting la

Re: Web development platform contest and Perl / mod_perl

2006-11-14 Thread Jonathan Vanasco
On Nov 14, 2006, at 6:10 PM, Alvar Freude wrote: Hi mod_perl and Perl users, There is an international contest and comparison with scientific evaluation about programming languages (and frameworks) for web development. honestly, that contest looks ridiculously

RE: Mod_perl and HTTP IO issue

2006-11-14 Thread Sumit Shah
I am following up to my previous email... If I look at the access_log inside Apache, I get the following: 1) When the filter is setup 38.118.10.237 - - [14/Nov/2006:18:57:17 -0500] "GET /snflwr_doc_html/asut0002.htm HTTP/1.1" 200 - 2) When I remove the filter (is remove the Perl Module) 38.118

Is there also a way to count the bytes received?

2006-11-14 Thread Hans de Groot
Hi, It's me again with more impossible questions. I am logging the bytes sent to a database, I would also like to log the bytes received is there any small chance this can be done? regards, Hans de Groot

Web development platform contest and Perl / mod_perl

2006-11-14 Thread Alvar Freude
Hi mod_perl and Perl users, There is an international contest and comparison with scientific evaluation about programming languages (and frameworks) for web development. It would be good for the reputation for mod_perl and Perl, if we participate with good teams.

RE: Mod_perl and HTTP IO issue

2006-11-14 Thread Sumit Shah
Hello, I have installed the following module inside Apache 1.3 using modperl 1 under Oracle 9i Application Server. package Apache::Proxy; use mod_perl (); $VERSION = '1.01'; sub handler{ } 1; __END__ I have set the following directive: SetHandler perl-script

Re: PerlAuthenHandler mod_perl 2.0.2, apache 2.2.2 & 2.2.3 problem

2006-11-14 Thread Iván Chavero
Perrin Harkins wrote: That sounds like you aren't even hitting this server. Try shutting it down and see if you still get a response. You have no other VirtualHosts in there? Sometimes your request will fail to match the VirtualHost you expected it to hit and fall through to the default server

Re: PerlAuthenHandler mod_perl 2.0.2, apache 2.2.2 & 2.2.3 problem

2006-11-14 Thread Perrin Harkins
On Tue, 2006-11-14 at 14:40 -0700, Iván Chavero wrote: > I've comented everything and left only this Location > > Alias /prueba /www/imcsk8.example.com/auth > > SetHandler perl-script > PerlResponseHandler NONEXISTENTMODULE > PerlAuthenHandler NONEXISTENTMODULE > Options

Re: PerlAuthenHandler mod_perl 2.0.2, apache 2.2.2 & 2.2.3 problem

2006-11-14 Thread Iván Chavero
Perrin Harkins wrote: On Tue, 2006-11-14 at 14:16 -0700, Iván Chavero wrote: I'm doing tests on a fresh install with one virtual host, here's my virtualhost config file: Try commenting out all of the other Directory, FilesMatch, and Location blocks. Also, try changing PerlResponseHand

Re: Apache::DProf giving empty tmon.out files

2006-11-14 Thread Miles Crawford
Just to add closure to this thread, Philip was right on about the threading - the default mpm appears to be "worker" in the Ubuntu apache package. As soon as I ran "apt-get apache2-mpm-prefork" it swapped out the mpm and my profiles were being filled out just as I had desired! ;) So, it see

Re: PerlAuthenHandler mod_perl 2.0.2, apache 2.2.2 & 2.2.3 problem

2006-11-14 Thread Perrin Harkins
On Tue, 2006-11-14 at 14:16 -0700, Iván Chavero wrote: > I'm doing tests on a fresh install with one virtual host, here's my > virtualhost config file: Try commenting out all of the other Directory, FilesMatch, and Location blocks. Also, try changing PerlResponseHandler for that block to somethi

Re: PerlAuthenHandler mod_perl 2.0.2, apache 2.2.2 & 2.2.3 problem

2006-11-14 Thread Iván Chavero
Perrin Harkins wrote: On Tue, 2006-11-14 at 12:34 -0700, Iván Chavero wrote: I even changed the PerlAuthenHandler value to a non existent module (which i think it should give a startup error) and it gets ignored. That sounds like a config problem to me. I bet you have another Location

Re: PerlAuthenHandler mod_perl 2.0.2, apache 2.2.2 & 2.2.3 problem

2006-11-14 Thread Iván Chavero
Philip M. Gollucci wrote: Michael Peters wrote: Iván Chavero wrote: my mod_perl copile flags are this: perl Makefile.PL MP_APXS=/usr/local/apache-2.2.2/bin/apxs you need EVERYTHING=1 there, or specifically turn on PERL_AUTHEN, PERL_AUTHZ, PERL_ACCESS individually. No. Like um its mod_p

Re: PerlAuthenHandler mod_perl 2.0.2, apache 2.2.2 & 2.2.3 problem

2006-11-14 Thread Perrin Harkins
On Tue, 2006-11-14 at 12:34 -0700, Iván Chavero wrote: > I even changed the PerlAuthenHandler value to a non existent module > (which i think it should give a startup error) and it gets ignored. That sounds like a config problem to me. I bet you have another Location block that is applying to th

Re: PerlAuthenHandler mod_perl 2.0.2, apache 2.2.2 & 2.2.3 problem

2006-11-14 Thread Michael Peters
Philip M. Gollucci wrote: > Michael Peters wrote: >> >> Iván Chavero wrote: >> >>> my mod_perl copile flags are this: >>> >>> perl Makefile.PL MP_APXS=/usr/local/apache-2.2.2/bin/apxs >> >> you need EVERYTHING=1 there, or specifically turn on PERL_AUTHEN, >> PERL_AUTHZ, >> PERL_ACCESS individuall

Re: PerlAuthenHandler mod_perl 2.0.2, apache 2.2.2 & 2.2.3 problem

2006-11-14 Thread Philip M. Gollucci
Michael Peters wrote: Iván Chavero wrote: my mod_perl copile flags are this: perl Makefile.PL MP_APXS=/usr/local/apache-2.2.2/bin/apxs you need EVERYTHING=1 there, or specifically turn on PERL_AUTHEN, PERL_AUTHZ, PERL_ACCESS individually. No. Like um its mod_perl 2 :) AuthType Basic

Re: PerlAuthenHandler mod_perl 2.0.2, apache 2.2.2 & 2.2.3 problem

2006-11-14 Thread Michael Peters
Iván Chavero wrote: > my mod_perl copile flags are this: > > perl Makefile.PL MP_APXS=/usr/local/apache-2.2.2/bin/apxs you need EVERYTHING=1 there, or specifically turn on PERL_AUTHEN, PERL_AUTHZ, PERL_ACCESS individually. -- Michael Peters Developer Plus Three, LP

I can change the error_log for a virtual host but how to change the access_log?

2006-11-14 Thread Hans de Groot
Hi, I can use $old_error_fname = $s->error_fname($result{error_log}); To set the location of the error log of a particular virtual host. But I can't find a way to set the location of the normal access_log file. this seems weird to me. Does anyone no how to change that? Thanks Hans de

PerlAuthenHandler mod_perl 2.0.2, apache 2.2.2 & 2.2.3 problem

2006-11-14 Thread Iván Chavero
Hello, I have a very weird problem on solaris 10 (and linux on amd64) with mod_perl 2.0.2 and apache 2.2.3 authentication phase. I have a handler for authentication and session management called Omni, currently have it working on some production systems (using mod_perl 2.0.2 and apache 2.2.2

Using the Eclipse debugger with mod_perl

2006-11-14 Thread Clinton Gormley
Hi all I've just discovered the joys of the Eclipse Perl debugger (having used the CLI version for years). Any idea what it would take to debug a mod_perl program with the Eclipse GUI? Or should I just stop now? thanks C

Re: Using the Eclipse debugger with mod_perl

2006-11-14 Thread Clinton Gormley
The IBM article was where I read about it, but it doesn't help me with debugging mod_perl On Tue, 2006-11-14 at 11:43 -0500, [EMAIL PROTECTED] wrote: > There's a how-to from IBM check out: > > http://www-128.ibm.com/developerworks/edu/os-dw-os-epic-i.html > > Also, here's a link from the EPIC so