#PerlModule Apache2
PerlRequire "/etc/apache2/startup.pl"
# PerlFreshRestart On
Alias /perl/ /var/www/perl-scripts/
<Location /perl/>
SetHandler perl-script
PerlResponseHandler ModPerl::Registry
# PerlHandler ModPerl::Registry
Options +ExecCGI +Includes
</Location>
<Location /perl-status>
SetHandler perl-script
PerlHandler Apache2::Status
</Location>
PerlSetVar StatusOptionsAll On
PerlSetVar StatusTerse On
PerlSetVar StatusTerseSize On
PerlSetVar StatusTerseSizeMainSummary On
#NO HACE FALTA ESTO!!!
#PerlModule B::TerseSize
http://tudominio.net/cgi-bin/script.pl
Deberás cambiarlas en tus páginas web.http://tudominio.net/perl/script.pl
Invalid command 'PerlFreshRestart', perhaps mis-spelled or defined by a module not included in the server configuration
Starting httpd:
[Mon Nov 13 15:46:57 2006] [warn] The Alias directive in /etc/httpd/conf/httpd.conf at line 622 will probably never match because it overlaps an earlier Alias
[Mon Nov 13 16:53:18 2006] [error] Can't locate Apache2.pm in @INC (@INC contains: /usr/lib/perl5/5.8.7/i386-linux /usr/lib/perl5/5.8.7 /usr/lib/perl5/site_perl/5.8.7/i386-linux /usr/lib/perl5/site_perl/5.8.7 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.7/i386-linux /usr/lib/perl5/vendor_perl/5.8.7 /usr/lib/perl5/vendor_perl/5.8.6 /usr/lib/perl5/vendor_perl/5.8.6/i386-linux /usr/lib/perl5/vendor_perl/5.8.5 /usr/lib/perl5/vendor_perl/5.8.1 /usr/lib/perl5/vendor_perl . /etc/httpd) at (eval 2) line 3.\n
[Mon Nov 13 16:53:18 2006] [error] Can't load Perl module Apache2 for server localhost:80, exiting...
Usuarios navegando por este Foro: No hay usuarios registrados visitando el Foro y 6 invitados