1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
#!C:\Perl\bin\perl.exe use strict; use warnings; no warnings 'uninitialized'; use Algorithm::Cluster; use DBI; use Encode; use CGI qw(:standard :html4); use CGI::Carp qw(carpout fatalsToBrowser); print "Content-Type: text/event-stream\n\n"; print "retry: 30000\n\n"; ... ...
1 2
NetworkError > 500 Internal Server Error - http://localhost/cgi-bin/cgi.pl Firefox kann keine Verbindung zu dem Server unter http://localhost/cgi-bin /cgi.pl aufbauen.
2014-01-24T11:59:27 kimmyFalls ich das Skript unter Windows-CMD Fenster aufrufe, läuft es ohne Problem. Aber unter Firefox bekomme ich immer die Fehlermeldungen:
Code (perl): (dl )1 2NetworkError > 500 Internal Server Error - http://localhost/cgi-bin/cgi.pl Firefox kann keine Verbindung zu dem Server unter http://localhost/cgi-bin /cgi.pl aufbauen.
Ich nehme an, dass das Problem an das Modul 'Algorithm::Cluster' liegt. Ich benutze unter Windows ActivPerl 5.16. Weil ich im 'PPM' das Modul nicht gefunden habe, habe ich das Modul mit der Hilfe 'CPAN' installiert.
QuoteIst das ein Windows- oder Linux-Server?#!C:\Perl\bin\perl.exe