migrating to mod_perl

2004-06-21 Thread greger
Hello all, what are the do's and don'ts when porting from perl/CGI to mod_perl? I have a 5000 line mysql application to modify ( port ) to mod_perl. what can mod_perl + apache offer me that no other ( php or pure perl + apache) can? any advice much appreciated /G -- Report problems: http://

Re: modifying URL displaying

2004-07-12 Thread greger
> > When you modify the URL at the appropiate phase, the URL displayed is not > changed (which > is neither good nor bad). > To change the url you can do > > $r->header_out(Location => $url); > return Apache::Constants::REDIRECT; > > where you redirect the browser directly to another URL, and indee

accessing loaded modules from other modules

2004-07-13 Thread greger
Hi all! just a quick one:How can I access loaded modules from other modules using mod_perl, i.e. say that I am running module contacts.pm within modperl, and I want from ContactPersons.pm access the contacts module, given that the two modules/packages are loaded separately. any advice appreciated!

user login ( authentication )

2004-11-01 Thread greger
hello could some kind soul please advice as how to implement rock solid authentication with modperl I have a db app running mod_perl/perl/apache/mysql and need user authentication, should I use the database's authentication or should I write my own ?which is better? ...any advice(help) much ap

posting announcement?

2004-11-08 Thread greger
Sorry for the question but is it okay to post an announcement here? -- Report problems: http://perl.apache.org/bugs/ Mail list info: http://perl.apache.org/maillist/modperl.html List etiquette: http://perl.apache.org/maillist/email-etiquette.html

ANNOUNCE Project XP 1.0.0.delta

2004-11-08 Thread greger
links in a proper way when using XML, while it works fine on e.g. Konqueror. This is due to the poor implementation of XML in Explorer 5.0. Q:What licence does Project XP use? A:GPL Enjoy! Thank you. Best Regards, Greger Haga -- www.gh-webinteractive.com -- Report problems:

Re: advocacy: J2EE: no longer required - Loosely Coupled weblog, Nov 18th 2004 10:20am

2004-11-22 Thread greger
> For those seeking mod_perl advocacy bits. Spotted this on /.org today: > > http://www.looselycoupled.com/blog/lc00aa00074.html > > That entry mainly suggests LAMP to scale better than J2EE using a grid of > cheap PCs, à là Google/Amazon style. > > It links to the detailed articles: > > http://pet

Re: clearing a parameter using Apache::Request

2005-01-06 Thread greger
> Hi Sean ! > > You can use "my $cgi = CGI->new($r);" in your request handler to get > the CGI object. > > Thanks, > Pratik Hi all, I'd also be interested to know if it is possible to get the params, alter them, from mod_perl without using the request obj

maintaining state between request cycles....

2005-01-06 Thread greger
ields and cookies? TIA Greger -- http://www.gh-webinteractive.com

sessions:THANK YOU!

2005-01-06 Thread greger
27;s why I asked. And to Sean special thank's, your code's gonna be useful. *S* :-) over and out. Greger -- http://www.gh-webinteractive.com

Fw: test suite fails, mp2.02, apache 2.2.3

2006-09-06 Thread Greger
-- Forwarded Message --- From: "Greger" <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] Sent: Thu, 7 Sep 2006 02:32:36 +0300 Subject: test suite fails, mp2.02, apache 2.2.3 -8<-- Start Bug Report 8<-- 1. Problem Descrip

Re: Fw: test suite fails, mp2.02, apache 2.2.3

2006-09-06 Thread Greger
removed PID file /home/oobi/Desktop/mod_perl-2.0.2/t/logs/httpd.pid (pid=8061) [Thu Sep 07 04:30:15 2006] [notice] caught SIGTERM, shutting down END in modperl_extra.pl, pid=8061 Attempt to free unreferenced scalar at /usr/lib/perl5/5.8.1/Test/Harness.pm line 54. --t/log/error_log-snip--- Greger -- QxRSSReader v1.2.6a released (30-06-2006) PortScanner v1.2.2 ( 09-08-2006 ) http://www.gregerhaga.net/ There are no stupid questions, only stupid answers.

Re: Fw: test suite fails, mp2.02, apache 2.2.3

2006-09-07 Thread Greger
On Thu, 07 Sep 2006 03:27:47 -0700, Philip M. Gollucci wrote > >Philip M. Gollucci wrote: > >>Greger wrote: > >>this is the interesting part > >>--t/log/error_log-snip--- > >>END in modperl_extra.pl, pid=

design patters with mod_perl

2006-09-13 Thread Greger
it all depends on what one is doing, naturally. In this case it is an application using the mysql database. Thank's for any input. Greger -- QxRSSReader v1.2.6a released (30-06-2006) PortScanner v1.2.2 ( 09-08-2006 ) http://www.gregerhaga.net/ There are no stupid questions, but there are s

Re: design patters with mod_perl

2006-09-13 Thread Greger
fancy the XML output for this reason, as I could use XPath to do check the methods. ( Now, I don't really know if these thoughts are sane*S*S*S*S*. ). Yes right, okey so thank's again. I am happy with your help, but of course if you have thoughts on this you are most welcome to reply. Best Greger -- QxRSSReader v1.2.6a released (30-06-2006) PortScanner v1.2.2 ( 09-08-2006 ) http://www.gregerhaga.net/ There are no stupid questions, but there are stupid answers.

hmm..testing with mod_perl and lwp

2006-09-18 Thread Greger
is way I'd like to know what you/they have experienced. Comments and feedback welcome, ( as always ) Thank you Greger -- QxRSSReader v1.2.6a released (30-06-2006) PortScanner v1.2.2 ( 09-08-2006 ) http://www.gregerhaga.net/ There are no stupid questions, but there are stupid answers.

Re: Getting post data

2006-09-28 Thread Greger
On Thu, 28 Sep 2006 10:06:05 +0200, Tom Schindl wrote > Hi, > > Please use one of the modules to read data: > - libapreq2 (http://search.cpan.org/~joesuf/libapreq2-2.08/) > - CGI.pm (comes with your perl-distro maybe you need to update it > from CPAN if you have an older perl) > > Tom >