Re: Apache2::Request

2008-05-23 Thread xyon
Apache2::RequestRec. > How can I make use Apache2::Request in my handler so I can preseve the > parameter via post method? > > I tried the following line without success > > sub my_handler { > my $self = shift; > my $r = shift; > my $req = Apache2::Request->new($r, POST_MAX => "1M"); > ... > ... > } > Please advice. > > PA -- xyon

Re: Reload/Graceful Restart Apache

2008-04-01 Thread xyon
stening sockets available, shutting down Unable to open logs On Tue, 2008-04-01 at 17:55 -0400, Sean Davis wrote: > On Tue, Apr 1, 2008 at 5:48 PM, xyon <[EMAIL PROTECTED]> wrote: > > Hello all, > > > > I've got a modperl app that changes some apache configs (via

Reload/Graceful Restart Apache

2008-04-01 Thread xyon
Hello all, I've got a modperl app that changes some apache configs (via text files), but need to tell Apache to re-read its configuration files for the changes to take effect. What might be the best way of going about such an operation? Here is some info about my install: # cat /etc/redhat-rele

Re: modperl with SSL

2008-03-24 Thread xyon
I also recommend stunnel. It has come through for me in these same situations without problems. On Mon, 2008-03-24 at 07:46 -0400, Roberto C. Sánchez wrote: > On Mon, Mar 24, 2008 at 03:25:26PM +0800, J. Peng wrote: > > hello list, > > > > we have our own realserver called QHttpd. > > This realse

Re: troubleshooting

2008-03-17 Thread xyon
On Mon, 2008-03-17 at 12:30 +, Beginner wrote: > On 17 Mar 2008 at 7:43, Perrin Harkins wrote: > > > On Mon, Mar 17, 2008 at 7:06 AM, Beginner <[EMAIL PROTECTED]> wrote: > > > I found an > > > upgraded package for my OS. > > > > Do you mean that the OS auto-upgraded something, or that you u

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

2008-03-13 Thread xyon
K; } else { return Apache2::Const::DECLINED; }; } 1; --- On Thu, 2008-03-13 at 16:32 +, xyon wrote: > Thank you all for your advice. With that and some help from a mentor, it > is now

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

2008-03-13 Thread xyon
ler modperl doesn't bind 'print' to '$r->print'. Try SetHandler > perl-script, or change your code to pass in the request object and use > $r->print instead of print. > > Adam > > -Original Message- > From: xyon [mailto:[EMAIL PROTEC

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

2008-03-13 Thread xyon
Catalyst) these days. So your > "from-the-very beginning" approach is also very helpful to me. > (And I do have a certain experience of Apache2/mod_perl2) > > And, re-check your lwp-request switches, you might have disabled the > display of the response conten

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

2008-03-13 Thread xyon
]; ### HTML::Template Debug ### In output ### HTML::Template output Stack Dump ### $VAR1 = [ \'Test! ' ]; Main Page..Test! --- On Thu, 2008-03-13 at 11:26 -0400, xyon wrote: > Thanks for the repl

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

2008-03-13 Thread xyon
will show you what you get as a response, without a browser > getting in the way) > > Then, below, are you not now sending one "Content-type" too many ? > It looks like you are doing it once in handler(), and once in mainpage(). > > André > > xyon wrote: > >

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

2008-03-13 Thread xyon
; #debugging use warnings; #more debugging use diagnostics;#even more debugging # Let's create an object my $view= Myserver::View->new; # Now, let's tell View to display the main page $view->mainpage; print ".OK"; 1; --

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

2008-03-12 Thread xyon
Fixed. I forgot to print the template->output. print $template->output; On Wed, 2008-03-12 at 23:02 +, xyon wrote: > Hey everyone, > > Firstly, I apologize I sent the previous email under an incorrect subject > line. > > I am working on my first Object-Oriented

Custom Object-Oriented Module using HTML::Template

2008-03-12 Thread xyon
e Debug ### In output ### HTML::Template output Stack Dump ### $VAR1 = [ \'Test! ' ]; .OK Output without debugging: $ tests/View_mainpage.pl Main Page..Content-Type: text/html .OK -- xyon <[EMAIL PROTECTED]>

Re: mod_perl 2.0 Handler issue

2008-03-12 Thread xyon
\'Test! ' ]; .OK Output without debugging: $ tests/View_mainpage.pl Main Page..Content-Type: text/html .OK -- xyon <[EMAIL PROTECTED]>

Re: mod_perl 2.0 Handler issue

2008-03-12 Thread xyon
$self->content_type('text/html'); return Apache2::Const::OK; } 1; On Wed, 2008-03-12 at 12:29 -0400, xyon wrote: > Hello everyone, > > I am writing my first mod_perl handler. I've looked at some of the docs > o

mod_perl 2.0 Handler issue

2008-03-12 Thread xyon
OK; } 1; ---- -- xyon <[EMAIL PROTECTED]>