|< 1 2 >| | 11 Einträge, 2 Seiten |
1
2
3
4
5
6
7
8
9
10
11
<Directory /home/httpd/vhosts/meinedomain.de/httpdocs>
<IfModule mod_perl.c>
<Files ~ (\.pl$)>
SetHandler perl-script
PerlHandler ModPerl::Registry
Options ExecCGI
allow from all
PerlSendHeader On
</Files>
</IfModule>
.........
1
2
3
4
5
6
7
<Files ~ (\.pl$)>
SetHandler perl-script
PerlHandler Apache::Registry
Options +ExecCGI
allow from all
PerlSendHeader On
</Files>
1
2
3
4
5
6
7
8
9
10
11
12
Server compiled with.....
-D APACHE_MPM_DIR="server/mpm/prefork"
-D APR_HAS_SENFILE
-D APR_HAS_MMAP
-D APR_HAVE_IPV6
-D APR_USE_SYSVSEM_SERIALIZE
-D APR_USE_PTHREAD_SERIALIZE
-D SINGLELISTEN_UNSERIALIZED_ACCEPT
-D APR_HAS_OTHER_CHILD
-D HTTPD_ROOT="/srv/www"
-D SUEXEC_BIN="usr/sbin/suexec2/
es folgend die Logfiles und serverconfigfiles
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
$ENV{GATEWAY_INTERFACE} =~ /^CGI-Perl/ or die "GATEWAY_INTERFACE not Perl!";
use Apache2 ();
use lib qw(/srv/www/perl-lib);
use lib qw(/home/httpd/vhosts/nrw-live.de/httpdocs/perl-lib);
# enable if the mod_perl 1.0 compatibility is needed
# use Apache::compat ();
use ModPerl::Util (); #for CORE::GLOBAL::exit
use Apache::RequestRec ();
use Apache::RequestIO ();
use Apache::RequestUtil ();
use Apache::Server ();
use Apache::ServerUtil ();
use Apache::Connection ();
use Apache::Log ();
use APR::Table ();
use ModPerl::Registry ();
use Apache::Const -compile => ':common';
use APR::Const -compile => ':common';
[Sun Oct 30 16:11:57 2005] [error] 7443: ModPerl::Registry: Can't locate object method "send_http_header" via package "Apache::RequestRec" at /home/httpd/vhosts/hiddendomain.bsp/httpdocs/test/hello.pl line 7.\n
GATEWAY_INTERFACE not Perl!"; @ line 2
Quote$ENV{GATEWAY_INTERFACE} =~ /^CGI-Perl/ or die "GATEWAY_INTERFACE not Perl!";
ersetzen durch:
$ENV{GATEWAY_INTERFACE} =~ /^CGI-Perl/ or die "GATEWAY_INTERFACE not
Perl!";
|< 1 2 >| | 11 Einträge, 2 Seiten |