I am using Apache 1.3.33 and mod_perl 1.26 under Macintosh machine.
does this configuration is creating problem??
Even I am able to print messages just bu using CGI::Application with CGI i.e
using ScriptAlias.
I am unable to print them when configured CGI::Application with mod_perl i.e
using Alia
Hi Dileep,
"Dileep Eduri" <[EMAIL PROTECTED]> wrote...
>
> ...its printing the http headers as well. if I turn of
> http headers, then nothing is getting printed..weird !!!
Not weird at all. Read the CGI::Application docs -- you should never print
from a run-mode:
> Perl Module => First.pm
>
>
Dileep, sorry for the delay in answering but I had to do fresh installs after a
recent ubuntu upgrade.
Okay, with a fresh, default Apache2/MP2 install (from source) I can easily
print using CGI::Application
SetHandler perl-script
PerlResponseHandler ModPerl::Registry
PerlOptions +P
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
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
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,
12 matches
Mail list logo