Thread Probleme mit der Darstellung im Iexplorer: printenv.pl wird nicht dagestellt
(15 answers)
Opened by wsurfer78 at 2006-01-30 13:25
Hallo miteinander.
Habe folgendes Problem. Ich möchte die Dateil printenv.pl im Explorer anzeigen lasse. Leider bietet der Explorer lediglich an, die datei zu speichern und beim öffnen geht nur kurz die Eingabeaufforderung auf. Habe schon folgende Änderungen in der httpd vorgenommen: AddHandler cgi-script .pl ScriptAlias /cgi-bin/ "D:/Programme/Apache/Apache2/cgi-bin/" <Directory "D:/Programme/Apache/Apache2/cgi-bin"> AllowOverride None Options +ExecCGI Order allow,deny Allow from all </Directory> Die Printenv- Datei: #!D:/Programme/Perl/bin/Perl.exe ## ## printenv -- demo CGI program which just prints its environment ## print "Content-type: text/plain\n\n"; foreach $var (sort(keys(%ENV))) { $val = $ENV{$var}; $val =~ s|\n|\\n|g; $val =~ s|"|\\"|g; print "${var}=\"${val}\"\n"; } Meine Error und access Datei: 127.0.0.1 - - [30/Jan/2006:10:29:33 +0100] "GET / HTTP/1.1" 200 2263 127.0.0.1 - - [30/Jan/2006:10:29:33 +0100] "GET /apache_pb.gif HTTP/1.1" 200 2326 127.0.0.1 - - [30/Jan/2006:11:05:22 +0100] "GET / HTTP/1.1" 200 2263 127.0.0.1 - - [30/Jan/2006:11:05:22 +0100] "GET /apache_pb.gif HTTP/1.1" 304 - 127.0.0.1 - - [30/Jan/2006:11:05:34 +0100] "GET /phpinfo.php HTTP/1.1" 200 29 127.0.0.1 - - [30/Jan/2006:11:05:59 +0100] "GET / HTTP/1.1" 200 2263 127.0.0.1 - - [30/Jan/2006:11:06:34 +0100] "GET /phpinfo.php HTTP/1.1" 200 29426 127.0.0.1 - - [30/Jan/2006:11:06:35 +0100] "GET /phpinfo.php?=PHPE9568F35-D428-11d2-A769-00AA001ACF42 HTTP/1.1" 200 4440 127.0.0.1 - - [30/Jan/2006:11:06:35 +0100] "GET /phpinfo.php?=PHPE9568F34-D428-11d2-A769-00AA001ACF42 HTTP/1.1" 200 2962 127.0.0.1 - - [30/Jan/2006:11:12:19 +0100] "GET / HTTP/1.1" 200 4938 127.0.0.1 - - [30/Jan/2006:11:12:19 +0100] "GET /icons/blank.gif HTTP/1.1" 200 148 127.0.0.1 - - [30/Jan/2006:11:12:19 +0100] "GET /icons/text.gif HTTP/1.1" 200 229 127.0.0.1 - - [30/Jan/2006:11:12:19 +0100] "GET /icons/image2.gif HTTP/1.1" 200 309 127.0.0.1 - - [30/Jan/2006:11:12:19 +0100] "GET /icons/unknown.gif HTTP/1.1" 200 245 127.0.0.1 - - [30/Jan/2006:11:12:41 +0100] "GET /cgi-bin/printenv.pl HTTP/1.1" 200 1111 127.0.0.1 - - [30/Jan/2006:11:19:40 +0100] "GET /cgi-bin/printenv.pl HTTP/1.1" 200 1111 127.0.0.1 - - [30/Jan/2006:11:21:34 +0100] "GET /phpinfo.php HTTP/1.1" 200 29203 127.0.0.1 - - [30/Jan/2006:11:21:34 +0100] "GET /phpinfo.php?=PHPE9568F34-D428-11d2-A769-00AA001ACF42 HTTP/1.1" 200 2962 127.0.0.1 - - [30/Jan/2006:11:21:34 +0100] "GET /phpinfo.php?=PHPE9568F35-D428-11d2-A769-00AA001ACF42 HTTP/1.1" 200 4440 127.0.0.1 - - [30/Jan/2006:11:21:36 +0100] "GET / HTTP/1.1" 200 4938 127.0.0.1 - - [30/Jan/2006:11:21:36 +0100] "GET /icons/image2.gif HTTP/1.1" 304 - 127.0.0.1 - - [30/Jan/2006:11:21:36 +0100] "GET /icons/blank.gif HTTP/1.1" 304 - 127.0.0.1 - - [30/Jan/2006:11:21:36 +0100] "GET /icons/text.gif HTTP/1.1" 304 - 127.0.0.1 - - [30/Jan/2006:11:21:36 +0100] "GET /icons/unknown.gif HTTP/1.1" 304 - 127.0.0.1 - - [30/Jan/2006:11:21:45 +0100] "GET /cgi-bin/printenv.pl HTTP/1.1" 500 615 127.0.0.1 - - [30/Jan/2006:11:21:49 +0100] "GET /cgi-bin/printenv.pl HTTP/1.1" 500 615 127.0.0.1 - - [30/Jan/2006:11:21:52 +0100] "GET /cgi-bin/printenv.pl HTTP/1.1" 500 615 127.0.0.1 - - [30/Jan/2006:11:22:00 +0100] "GET /cgi-bin/printenv.pl HTTP/1.1" 500 615 127.0.0.1 - - [30/Jan/2006:11:23:54 +0100] "GET /cgi-bin/printenv.pl HTTP/1.1" 500 615 127.0.0.1 - - [30/Jan/2006:11:29:03 +0100] "GET / HTTP/1.1" 200 4938 127.0.0.1 - - [30/Jan/2006:11:29:03 +0100] "GET /icons/blank.gif HTTP/1.1" 304 - 127.0.0.1 - - [30/Jan/2006:11:29:03 +0100] "GET /icons/image2.gif HTTP/1.1" 304 - 127.0.0.1 - - [30/Jan/2006:11:29:03 +0100] "GET /icons/unknown.gif HTTP/1.1" 304 - 127.0.0.1 - - [30/Jan/2006:11:29:03 +0100] "GET /icons/text.gif HTTP/1.1" 304 - 127.0.0.1 - - [30/Jan/2006:11:29:09 +0100] "GET /cgi-bin/printenv.pl HTTP/1.1" 200 1134 127.0.0.1 - - [30/Jan/2006:11:36:44 +0100] "GET /cgi-bin/printenv.pl HTTP/1.1" 200 1134 127.0.0.1 - - [30/Jan/2006:11:41:09 +0100] "GET /cgi-bin/printenv.pl HTTP/1.1" 200 1134 127.0.0.1 - - [30/Jan/2006:11:58:23 +0100] "GET /cgi-bin/printenv.pl HTTP/1.1" 200 1134 127.0.0.1 - - [30/Jan/2006:12:01:17 +0100] "GET / HTTP/1.1" 200 4938 127.0.0.1 - - [30/Jan/2006:12:01:17 +0100] "GET /icons/blank.gif HTTP/1.1" 304 - 127.0.0.1 - - [30/Jan/2006:12:01:17 +0100] "GET /icons/image2.gif HTTP/1.1" 304 - 127.0.0.1 - - [30/Jan/2006:12:01:17 +0100] "GET /icons/text.gif HTTP/1.1" 304 - 127.0.0.1 - - [30/Jan/2006:12:01:17 +0100] "GET /icons/unknown.gif HTTP/1.1" 304 - 127.0.0.1 - - [30/Jan/2006:12:01:23 +0100] "GET /cgi-bin/printenv.pl HTTP/1.1" 200 1134 127.0.0.1 - - [30/Jan/2006:12:08:03 +0100] "GET /cgi-bin/printenv.pl HTTP/1.1" 200 1134 die error: [Mon Jan 30 11:21:23 2006] [notice] Parent: Created child process 4040 [Mon Jan 30 11:21:23 2006] [notice] Child 4040: Child process is running [Mon Jan 30 11:21:24 2006] [notice] Child 2704: Released the start mutex [Mon Jan 30 11:21:24 2006] [notice] Child 4040: Acquired the start mutex. [Mon Jan 30 11:21:24 2006] [notice] Child 4040: Starting 250 worker threads. [Mon Jan 30 11:21:25 2006] [notice] Child 2704: Waiting for 250 worker threads to exit. [Mon Jan 30 11:21:25 2006] [notice] Child 2704: All worker threads have exited. [Mon Jan 30 11:21:25 2006] [notice] Child 2704: Child process is exiting [Mon Jan 30 11:21:45 2006] [error] [client 127.0.0.1] Syntax error in type map, no ':' in D:/Programme/Apache/Apache2/cgi-bin/printenv.pl for header foreach $var (sort(keys(%env))) {\r\n$val = $env{$var};\r\n$val =~ s|\\n|\\\\n|g;\r\n$val =~ s|"|\\\\"|g;\r\nprint "${var}=\\"${val}\\"\\n";\r\n [Mon Jan 30 11:21:49 2006] [error] [client 127.0.0.1] Syntax error in type map, no ':' in D:/Programme/Apache/Apache2/cgi-bin/printenv.pl for header foreach $var (sort(keys(%env))) {\r\n$val = $env{$var};\r\n$val =~ s|\\n|\\\\n|g;\r\n$val =~ s|"|\\\\"|g;\r\nprint "${var}=\\"${val}\\"\\n";\r\n [Mon Jan 30 11:21:52 2006] [error] [client 127.0.0.1] Syntax error in type map, no ':' in D:/Programme/Apache/Apache2/cgi-bin/printenv.pl for header foreach $var (sort(keys(%env))) {\r\n$val = $env{$var};\r\n$val =~ s|\\n|\\\\n|g;\r\n$val =~ s|"|\\\\"|g;\r\nprint "${var}=\\"${val}\\"\\n";\r\n [Mon Jan 30 11:22:00 2006] [error] [client 127.0.0.1] Syntax error in type map, no ':' in D:/Programme/Apache/Apache2/cgi-bin/printenv.pl for header foreach $var (sort(keys(%env))) {\r\n$val = $env{$var};\r\n$val =~ s|\\n|\\\\n|g;\r\n$val =~ s|"|\\\\"|g;\r\nprint "${var}=\\"${val}\\"\\n";\r\n [Mon Jan 30 11:23:23 2006] [notice] Parent: Created child process 460 [Mon Jan 30 11:23:23 2006] [notice] Child 460: Child process is running [Mon Jan 30 11:23:24 2006] [notice] Child 460: Acquired the start mutex. [Mon Jan 30 11:23:24 2006] [notice] Child 460: Starting 250 worker threads. [Mon Jan 30 11:23:54 2006] [error] [client 127.0.0.1] Syntax error in type map, no ':' in D:/Programme/Apache/Apache2/cgi-bin/printenv.pl for header foreach $var (sort(keys(%env))) {\r\n$val = $env{$var};\r\n$val =~ s|\\n|\\\\n|g;\r\n$val =~ s|"|\\\\"|g;\r\nprint "${var}=\\"${val}\\"\\n";\r\n [Mon Jan 30 11:24:05 2006] [notice] Parent: Received restart signal -- Restarting the server. [Mon Jan 30 11:24:05 2006] [notice] Child 460: Exit event signaled. Child process is ending. [Mon Jan 30 11:24:05 2006] [notice] Parent: Created child process 3424 [Mon Jan 30 11:24:06 2006] [notice] Child 3424: Child process is running [Mon Jan 30 11:24:06 2006] [notice] Child 460: Released the start mutex [Mon Jan 30 11:24:06 2006] [notice] Child 3424: Acquired the start mutex. [Mon Jan 30 11:24:06 2006] [notice] Child 3424: Starting 250 worker threads. [Mon Jan 30 11:24:07 2006] [notice] Child 460: Waiting for 250 worker threads to exit. [Mon Jan 30 11:24:07 2006] [notice] Child 460: All worker threads have exited. [Mon Jan 30 11:24:07 2006] [notice] Child 460: Child process is exiting [Mon Jan 30 11:28:48 2006] [notice] Parent: Received restart signal -- Restarting the server. [Mon Jan 30 11:28:48 2006] [notice] Child 3424: Exit event signaled. Child process is ending. [Mon Jan 30 11:28:48 2006] [notice] Parent: Created child process 3324 [Mon Jan 30 11:28:48 2006] [notice] Child 3324: Child process is running [Mon Jan 30 11:28:49 2006] [notice] Child 3424: Released the start mutex [Mon Jan 30 11:28:49 2006] [notice] Child 3324: Acquired the start mutex. [Mon Jan 30 11:28:49 2006] [notice] Child 3324: Starting 250 worker threads. [Mon Jan 30 11:28:50 2006] [notice] Child 3424: Waiting for 250 worker threads to exit. [Mon Jan 30 11:28:50 2006] [notice] Child 3424: All worker threads have exited. [Mon Jan 30 11:28:50 2006] [notice] Child 3424: Child process is exiting [Mon Jan 30 11:33:43 2006] [notice] Parent: Created child process 220 [Mon Jan 30 11:33:43 2006] [notice] Child 220: Child process is running [Mon Jan 30 11:33:43 2006] [notice] Child 220: Acquired the start mutex. [Mon Jan 30 11:33:43 2006] [notice] Child 220: Starting 250 worker threads. [Mon Jan 30 11:40:58 2006] [notice] Parent: Received restart signal -- Restarting the server. [Mon Jan 30 11:40:58 2006] [notice] Child 220: Exit event signaled. Child process is ending. [Mon Jan 30 11:40:58 2006] [notice] Parent: Created child process 3848 [Mon Jan 30 11:40:58 2006] [notice] Child 3848: Child process is running [Mon Jan 30 11:40:59 2006] [notice] Child 220: Released the start mutex [Mon Jan 30 11:40:59 2006] [notice] Child 3848: Acquired the start mutex. [Mon Jan 30 11:40:59 2006] [notice] Child 3848: Starting 250 worker threads. [Mon Jan 30 11:41:00 2006] [notice] Child 220: Waiting for 250 worker threads to exit. [Mon Jan 30 11:41:00 2006] [notice] Child 220: All worker threads have exited. [Mon Jan 30 11:41:00 2006] [notice] Child 220: Child process is exiting [Mon Jan 30 11:58:12 2006] [notice] Parent: Received restart signal -- Restarting the server. [Mon Jan 30 11:58:12 2006] [notice] Child 3848: Exit event signaled. Child process is ending. [Mon Jan 30 11:58:12 2006] [notice] Parent: Created child process 432 [Mon Jan 30 11:58:12 2006] [notice] Child 432: Child process is running [Mon Jan 30 11:58:13 2006] [notice] Child 3848: Released the start mutex [Mon Jan 30 11:58:13 2006] [notice] Child 432: Acquired the start mutex. [Mon Jan 30 11:58:13 2006] [notice] Child 432: Starting 250 worker threads. [Mon Jan 30 11:58:14 2006] [notice] Child 3848: Waiting for 250 worker threads to exit. [Mon Jan 30 11:58:14 2006] [notice] Child 3848: All worker threads have exited. [Mon Jan 30 11:58:14 2006] [notice] Child 3848: Child process is exiting [Mon Jan 30 12:01:03 2006] [notice] Parent: Received restart signal -- Restarting the server. [Mon Jan 30 12:01:03 2006] [notice] Child 432: Exit event signaled. Child process is ending. [Mon Jan 30 12:01:03 2006] [notice] Parent: Created child process 3196 [Mon Jan 30 12:01:03 2006] [notice] Child 3196: Child process is running [Mon Jan 30 12:01:04 2006] [notice] Child 432: Released the start mutex [Mon Jan 30 12:01:04 2006] [notice] Child 3196: Acquired the start mutex. [Mon Jan 30 12:01:04 2006] [notice] Child 3196: Starting 250 worker threads. [Mon Jan 30 12:01:05 2006] [notice] Child 432: Waiting for 250 worker threads to exit. [Mon Jan 30 12:01:05 2006] [notice] Child 432: All worker threads have exited. [Mon Jan 30 12:01:05 2006] [notice] Child 432: Child process is exiting [Mon Jan 30 12:01:10 2006] [notice] Parent: Received restart signal -- Restarting the server. [Mon Jan 30 12:01:10 2006] [notice] Child 3196: Exit event signaled. Child process is ending. [Mon Jan 30 12:01:10 2006] [notice] Parent: Created child process 2576 [Mon Jan 30 12:01:10 2006] [notice] Child 2576: Child process is running [Mon Jan 30 12:01:11 2006] [notice] Child 2576: Acquired the start mutex. [Mon Jan 30 12:01:11 2006] [notice] Child 3196: Released the start mutex [Mon Jan 30 12:01:11 2006] [notice] Child 2576: Starting 250 worker threads. [Mon Jan 30 12:01:12 2006] [notice] Child 3196: Waiting for 250 worker threads to exit. [Mon Jan 30 12:01:12 2006] [notice] Child 3196: All worker threads have exited. [Mon Jan 30 12:01:12 2006] [notice] Child 3196: Child process is exiting [Mon Jan 30 12:07:56 2006] [notice] Parent: Received restart signal -- Restarting the server. [Mon Jan 30 12:07:56 2006] [notice] Child 2576: Exit event signaled. Child process is ending. [Mon Jan 30 12:07:56 2006] [notice] Parent: Created child process 1980 [Mon Jan 30 12:07:56 2006] [notice] Child 1980: Child process is running [Mon Jan 30 12:07:57 2006] [notice] Child 1980: Acquired the start mutex. [Mon Jan 30 12:07:57 2006] [notice] Child 2576: Released the start mutex [Mon Jan 30 12:07:57 2006] [notice] Child 1980: Starting 250 worker threads. [Mon Jan 30 12:07:58 2006] [notice] Child 2576: Waiting for 250 worker threads to exit. [Mon Jan 30 12:07:58 2006] [notice] Child 2576: All worker threads have exited. [Mon Jan 30 12:07:58 2006] [notice] Child 2576: Child process is exiting [Mon Jan 30 12:11:10 2006] [notice] Parent: Received restart signal -- Restarting the server. [Mon Jan 30 12:11:10 2006] [notice] Child 1980: Exit event signaled. Child process is ending. [Mon Jan 30 12:11:10 2006] [notice] Parent: Created child process 2028 [Mon Jan 30 12:11:10 2006] [notice] Child 2028: Child process is running [Mon Jan 30 12:11:11 2006] [notice] Child 2028: Acquired the start mutex. [Mon Jan 30 12:11:11 2006] [notice] Child 1980: Released the start mutex [Mon Jan 30 12:11:11 2006] [notice] Child 2028: Starting 250 worker threads. [Mon Jan 30 12:11:12 2006] [notice] Child 1980: Waiting for 250 worker threads to exit. [Mon Jan 30 12:11:12 2006] [notice] Child 1980: All worker threads have exited. [Mon Jan 30 12:11:12 2006] [notice] Child 1980: Child process is exiting |