I added PerlSendHeader Off to config file and removed send_http_header call
and print call.
Now I am returning $var.
Nothing got printed...
Thanks
Michael Peters wrote:
>
>
>
> Dileep Eduri wrote:
>> No change. still getting headers in browser.
>> this one is pretty annoying.
>
> Make that
Previously when I did an appln with CGI::App then I 'return'ed and hence got
the pages. This time I am trying with mod_perl and when I was trying to
'return', nothing is getting printed
Here is the code, what I got now:
sub mode1_sub {
my $self = shift;
my $req = $self->query();
$req->
Unless I'm missing sth, have you read the docs?
With CGI::Application, you don;t print anything, you just return whatever it is
you want 'printed'
Dileep Eduri <[EMAIL PROTECTED]> wrote:
I have able to solve to maximum extent.
rectified all the errors and able to print the result. this time its
Dileep Eduri wrote:
> No change. still getting headers in browser.
> this one is pretty annoying.
Make that change to your config, take out the send_http_headers and the
CGI->print().
--
Michael Peters
Developer
Plus Three, LP
No change. still getting headers in browser.
this one is pretty annoying.
Michael Peters wrote:
>
> Dileep Eduri wrote:
>
>> modified my httpd conf file as follows:
>>
>> Config File Entry
>>
>> Alias /perl /docroot/cgi-perl
>> PerlModule Apache::Registry
>>
>
> Try adding this line:
>
Dileep Eduri wrote:
> modified my httpd conf file as follows:
>
> Config File Entry
>
> Alias /perl /docroot/cgi-perl
> PerlModule Apache::Registry
>
Try adding this line:
PerlSendHeader Off
>SetHandler perl-script
>PerlHandlerApache::Registry
>OptionsExecCGI
>
I have able to solve to maximum extent.
rectified all the errors and able to print the result. this time its
printing the http headers as wellif I turn of http headers, then nothing
is getting printed..little weird !!!
modified my httpd conf file as follows:
Config File Entry
Alias /perl /d
On Fri, Oct 26, 2007 at 02:57:01PM +0200, Dintelmann, Peter wrote:
> mod_perl.c: In function `modperl_sys_term':
> mod_perl.c:599: error: `my_perl' undeclared (first use in this function)
...
> The referenced line 599 in mod_perl.c reads
>
> $ perl -nle 'print if $.==599' src/modules/perl/mod_perl
The way the cool kids do it is to use
CGI::Application in conjunction with HTML::Template.
http://cgiapp.erlbaum.net/
Haven't done it myself, used HTML::Mason last time, which isn't true
MVC.
James
> -Original Message-
> From: Foo JH [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, Octobe
Perl Modulator wrote:
> I am trying to create mod_perl based appln using CGI::Application and I am
> just printing a message. Here is the Perl Module Test.pm, which will be
> loaded.
Don't use Test.pm as a module name. There's already something in core Perl with
that name. It's quite likely that
On Oct 24, 2007, at 10:37 PM, Foo JH wrote:
What is fast to cook, good to eat is HTML::Template. No XML, easy
abstraction between your web designer and developer.
I GREATLY prefer using TAL ( in perl using Petal ) for the V
someone finally made an integration for Petal and Catalyst.
unfo
Hi everyone,
Recently I have ported my Apache server to mod_perl and the server is
working fine. I can say this by checking the error log and it says:
[Fri Oct 26 10:52:16 2007] [notice] SIGHUP received. Attempting to restart
[Fri Oct 26 10:52:17 2007] [warn] module mod_php4.c is already added,
The "make" step of building mod_perl-2.0.3 with Perl 5.10.0
(DEVEL32096) on Solaris 8 in 64-bit fails with the following
message:
$ make
cd "src/modules/perl" && make
gcc -I/var/tmp/peter/mod_perl-2.0.3/src/modules/perl
-I/var/tmp/peter/mod_perl-2.0.3/xs -I/opt/MISperl/httpd2/include
-I/opt/MISp
13 matches
Mail list logo