No output ot my logs and ptkdb only fires up if I comment out Sethandler and PerlResponseHandler!!!
to cgi-bin/printenv, I added
sub BEGIN {
$ENV{'DISPLAY'} = "localhost:0.0" ;
}
and set ... xhost localhost
and httpd.conf
PerlModule ModPerl::Registry
<Directory "/usr/local/apache2/cgi-bin">
AllowOverride None
Sethandler perl-script
PerlResponseHandler ModPerl::Registry
PerlOptions +ParseHeaders
Options +ExecCGI
Order allow,deny
Allow from all
</Directory>
## this just contains a print 'hello' to see if it's being found, and it is
PerlRequire /usr/local/apache2/conf/startup.pl
this is now starting to drive me craaaaaaaaaaaaaaaaaaaaaaaazy!!
Jeff Pang <[EMAIL PROTECTED]> wrote:
Hello,
Have you loaded the ModPerl::Registry?How can you know your modperl scripts can't be run?
When you meet problems,you can look at the error_log where you could find most of the problems.
And,here is my mp2 config,it can run well for me:
PerlModule ModPerl::Registry
SetHandler perl-script
PerlResponseHandler ModPerl::Registry
PerlOptions +ParseHeaders
Options +ExecCGI
Good luck!
-----Original Message-----
>From: Anthony Gardner <[EMAIL PROTECTED]>
>Sent: Oct 13, 2006 3:53 AM
>To: mod_perl[EMAIL PROTECTED]>
>Subject: apache2 and ptkdb
>
>I'm having problems getting ptkdb to work under ModPerl::Registry.
>
>this works but it won;t be running under mod_perl
>
>
> AllowOverride Limit
>## SetHandler perl-script
>## PerlResponseHandler ModPerl::Registry
> PerlOptions +ParseHeaders
> Options +ExecCGI
>
>
>the following won't work at all
>
>
> AllowOverride Limit
> SetHandler perl-script
> PerlResponseHandler ModPerl::Registry
> PerlOptions +ParseHeaders
> Options +ExecCGI
>
>
>any ideas greatly appreciated
>
>CIA
>
>-Ants
>
>
>
>
>---------------------------------
> Try the all-new Yahoo! Mail . "The New Version is radically easier to use" ?The Wall Street Journal
--
Books below translated by me to Chinese.
Practical mod_perl: http://home.earthlink.net/~pangj/mod_perl/
Squid the Definitive Guide: http://home.earthlink.net/~pangj/squid/
Jeff Pang <[EMAIL PROTECTED]> wrote:
Hello,
Have you loaded the ModPerl::Registry?How can you know your modperl scripts can't be run?
When you meet problems,you can look at the error_log where you could find most of the problems.
And,here is my mp2 config,it can run well for me:
PerlModule ModPerl::Registry
SetHandler perl-script
PerlResponseHandler ModPerl::Registry
PerlOptions +ParseHeaders
Options +ExecCGI
Good luck!
-----Original Message-----
>From: Anthony Gardner <[EMAIL PROTECTED]>
>Sent: Oct 13, 2006 3:53 AM
>To: mod_perl[EMAIL PROTECTED]>
>Subject: apache2 and ptkdb
>
>I'm having problems getting ptkdb to work under ModPerl::Registry.
>
>this works but it won;t be running under mod_perl
>
>
> AllowOverride Limit
>## SetHandler perl-script
>## PerlResponseHandler ModPerl::Registry
> PerlOptions +ParseHeaders
> Options +ExecCGI
>
>
>the following won't work at all
>
>
> AllowOverride Limit
> SetHandler perl-script
> PerlResponseHandler ModPerl::Registry
> PerlOptions +ParseHeaders
> Options +ExecCGI
>
>
>any ideas greatly appreciated
>
>CIA
>
>-Ants
>
>
>
>
>---------------------------------
> Try the all-new Yahoo! Mail . "The New Version is radically easier to use" ?The Wall Street Journal
--
Books below translated by me to Chinese.
Practical mod_perl: http://home.earthlink.net/~pangj/mod_perl/
Squid the Definitive Guide: http://home.earthlink.net/~pangj/squid/
Try the all-new Yahoo! Mail . "The New Version is radically easier to use" The Wall Street Journal