1
2
3
4
<Directory /Users/pktm/Sites/localhost/cgi-bin>
SetEnv PERL5LIB /Users/pktm/perl5/perlbrew/perls/perl-5.14.1/
Options +ExecCGI
</Directory>
1
2
3
4
~/perl5/perlbrew/perls/perl-5.12.1/lib/site_perl/5.12.1/i686-linux
~/perl5/perlbrew/perls/perl-5.12.1/lib/site_perl/5.12.1
~/perl5/perlbrew/perls/perl-5.12.1/lib/5.12.1/i686-linux
~/perl5/perlbrew/perls/perl-5.12.1/lib/5.12.1
1
2
3
4
5
6
7
8
9
$ perl -e "use Data::Dumper; print Dumper \@INC;"
$VAR1 = [
'/Users/pktm/perl5/perlbrew/perls/perl-5.14.1/lib/site_perl/5.14.1/darwin-2level',
'/Users/pktm/perl5/perlbrew/perls/perl-5.14.1/lib/site_perl/5.14.1',
'/Users/pktm/perl5/perlbrew/perls/perl-5.14.1/lib/5.14.1/darwin-2level',
'/Users/pktm/perl5/perlbrew/perls/perl-5.14.1/lib/5.14.1',
'.'
];
$
$VAR1 = [ '/Applications/XAMPP/xamppfiles/lib/perl5/site_perl/5.10.1//darwin-2level', '/Applications/XAMPP/xamppfiles/lib/perl5/site_perl/5.10.1/', '/Applications/XAMPP/xamppfiles/lib/perl5/5.10.1/darwin-2level', '/Applications/XAMPP/xamppfiles/lib/perl5/5.10.1', '/Applications/XAMPP/xamppfiles/lib/perl5/site_perl/5.10.1/darwin-2level', '/Applications/XAMPP/xamppfiles/lib/perl5/site_perl/5.10.1', '.', '/Applications/XAMPP/xamppfiles' ];
2011-09-21T12:08:33 pktmHabe mir mal @INC auf der Komsole ausgeben lassen.
2011-09-21T12:08:33 pktmWird der shebang event. ignoriert?
1
2
3
4
5
6
7
8
9
10
11
12
13
14
<IfModule !mpm_winnt_module>
<IfModule !mpm_netware_module>
#
# If you wish httpd to run as a different user or group, you must run
# httpd as root initially and it will switch.
#
# User/Group: The name (or #number) of the user/group to run httpd as.
# It is usually good practice to create a dedicated user and group for
# running httpd, as with most system services.
#
User nobody
Group nogroup
</IfModule>
</IfModule>
1
2
drwxr-xr-x 3 pktm staff 102 12 Sep 09:56 .perlbrew
drwxr-xr-x 4 pktm staff 136 12 Sep 11:22 perl5
2011-09-21T14:05:46 GwenDragonIst beim Apache in der httpd.conf oder irgendeiner vhost.conf was als suexecUser eingetragen?
1
2
3
4
5
6
7
8
9
10
11
12
13
<VirtualHost 127.0.0.1>
ServerAdmin ***
DocumentRoot ****
ServerName localhost
ServerAlias localhost
ErrorLog "logs/error_log"
CustomLog "logs/access_log" common
#SetEnv PERL5LIB /Users/pktm/perl5/perlbrew/perls/perl-5.14.1/lib/site_perl/5.14.1/darwin-2level:/Users/pktm/perl5/perlbrew/perls/perl-5.14.1/lib/site_perl/5.14.1:/Users/pktm/perl5/perlbrew/perls/perl-5.14.1/lib/5.14.1/darwin-2level:/Users/pktm/perl5/perlbrew/perls/perl-5.14.1/lib/5.14.1
<Directory /Users/pktm/Sites/localhost/cgi-bin>
SetEnv PERL5LIB /Users/pktm/perl5/perlbrew/perls/perl-5.14.1/lib/site_perl/5.14.1/darwin-2level:/Users/pktm/perl5/perlbrew/perls/perl-5.14.1/lib/site_perl/5.14.1:/Users/pktm/perl5/perlbrew/perls/perl-5.14.1/lib/5.14.1/darwin-2level:/Users/pktm/perl5/perlbrew/perls/perl-5.14.1/lib/5.14.1
Options +ExecCGI
</Directory>
</VirtualHost>