Hi, I have found that somehow 'startup.pl' isn't loaded or it can't be read. It has rw-r--r-- permissions. Have I the correct configuration for mod_perl2?
I would be very grateful if anyone could help me with this. Regards. Here is my httpd.conf: LoadModule perl_module modules/mod_perl.so #Alias /perl-cgi/ "/usr/local/apache2/htdocs/www/p_scripts/perl-cgi/" #<Directory "/usr/local/apache2/htdocs/www/p_scripts/perl-cgi/"> # AllowOverride None # Options None # Order allow,deny # Allow from all #</Directory> PerlSwitches -wT PerlPostConfigRequire /usr/local/apache2/htdocs/www/p_scripts/perl-cgi/startup.pl PerlSwitches -I/usr/local/apache2/htdocs/www/p_scripts/perl-cgi/ <Directory "/usr/local/apache2/htdocs/www/p_scripts/perl-cgi/"> SetHandler perl-script PerlResponseHandler ModPerl::Registry PerlOptions +ParseHeaders Options +ExecCGI Order allow,deny Allow from all </Directory> And my startup.pl: #!/usr/bin/perl -w use strict; # to use other libraries in other @INC path # use lib qw(/absolute/path/); use lib qw(/usr/local/apache2/htdocs/www/p_scripts/perl-cgi/); # preload all mp2 modules # use ModPerl::MethodLookup; # ModPerl::MethodLookup::preload_all_modules(); use ModPerl::Util (); #for CORE::GLOBAL::exit use Apache2::RequestRec (); use Apache2::RequestIO (); use Apache2::RequestUtil (); use Apache2::ServerRec (); use Apache2::ServerUtil (); use Apache2::Connection (); use Apache2::Log (); use APR::Table (); # use ModPerl::Registry (); use Apache2::Const -compile => ':common'; use APR::Const -compile => ':common'; 1;