Schrift
Wiki:Tipp zum Debugging: use Data::Dumper; local $Data::Dumper::Useqq = 1; print Dumper \@var;
[thread]7661[/thread]

Probleme mit der Darstellung im Iexplorer: printenv.pl wird nicht dagestellt

Leser: 1


<< |< 1 2 >| >> 16 Einträge, 2 Seiten
wsurfer78
 2006-01-30 13:25
#62413 #62413
User since
2006-01-30
7 Artikel
BenutzerIn
[default_avatar]
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
svenXY
 2006-01-30 13:41
#62414 #62414
User since
2005-09-15
33 Artikel
BenutzerIn
[default_avatar]
[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

---> da ist wohl ein Fehler...
wsurfer78
 2006-01-30 13:50
#62415 #62415
User since
2006-01-30
7 Artikel
BenutzerIn
[default_avatar]
Di Frage ist nur, an was es liegt. Die ganzen Adressierungen habe ich überprüft und die stimmen
Crian
 2006-01-30 13:52
#62416 #62416
User since
2003-08-04
5873 Artikel
ModeratorIn
[Homepage]
user image
use strict
use warnings
use CODE-Tags\n\n

<!--EDIT|Crian|1138621968-->
s--Pevna-;s.([a-z]).chr((ord($1)-84)%26+97).gee; s^([A-Z])^chr((ord($1)-52)%26+65)^gee;print;

use strict; use warnings; Link zu meiner Perlseite
svenXY
 2006-01-30 13:57
#62417 #62417
User since
2005-09-15
33 Artikel
BenutzerIn
[default_avatar]
[quote=Crian,30.01.2006, 12:52]use strict
use warnings
use CODE-Tags[/quote]
use semikolon; ;-)
wsurfer78
 2006-01-30 13:58
#62418 #62418
User since
2006-01-30
7 Artikel
BenutzerIn
[default_avatar]
sehr hilfreich, danke :-(
Crian
 2006-01-30 13:59
#62419 #62419
User since
2003-08-04
5873 Artikel
ModeratorIn
[Homepage]
user image
besonders hinter den CODE-Tags ;-)
s--Pevna-;s.([a-z]).chr((ord($1)-84)%26+97).gee; s^([A-Z])^chr((ord($1)-52)%26+65)^gee;print;

use strict; use warnings; Link zu meiner Perlseite
wsurfer78
 2006-01-30 15:40
#62420 #62420
User since
2006-01-30
7 Artikel
BenutzerIn
[default_avatar]
Bitte mal eine sinnvolle antwort

Also meine Httpd sieht folgerndermaßen aus....

ServerRoot "D:/programme/Apache/Apache2"


PidFile logs/httpd.pid


Timeout 300

KeepAlive On


MaxKeepAliveRequests 100


KeepAliveTimeout 15




<IfModule mpm_winnt.c>
ThreadsPerChild 250
MaxRequestsPerChild 0
</IfModule>


Listen 80


LoadModule access_module modules/mod_access.so
LoadModule actions_module modules/mod_actions.so
LoadModule alias_module modules/mod_alias.so
LoadModule asis_module modules/mod_asis.so
LoadModule auth_module modules/mod_auth.so

LoadModule autoindex_module modules/mod_autoindex.so

LoadModule cgi_module modules/mod_cgi.so

LoadModule dir_module modules/mod_dir.so
LoadModule env_module modules/mod_env.so

LoadModule imap_module modules/mod_imap.so
LoadModule include_module modules/mod_include.so

LoadModule isapi_module modules/mod_isapi.so
LoadModule log_config_module modules/mod_log_config.so
LoadModule mime_module modules/mod_mime.so

LoadModule negotiation_module modules/mod_negotiation.so

LoadModule setenvif_module modules/mod_setenvif.so

LoadModule userdir_module modules/mod_userdir.so


ServerAdmin info@kh-mediatec.de


ServerName krug.local:80


UseCanonicalName Off


DocumentRoot "D:/programme/Apache/Apache2/htdocs"


<Directory />
Options FollowSymLinks ExecCGI
AllowOverride None
</Directory>


<Directory "D:/programme/Apache/Apache2/htdocs">


Options Indexes FollowSymLinks ExecCGI


AllowOverride None


Order allow,deny
Allow from all

</Directory>


UserDir "My Documents/My Website"



DirectoryIndex index.html index.htm index.php index.php3


AccessFileName .htaccess


<Files ~ "^\.ht">
Order allow,deny
Deny from all
</Files>


TypesConfig conf/mime.types


DefaultType text/plain


<IfModule mod_mime_magic.c>
MIMEMagicFile conf/magic
</IfModule>


HostnameLookups Off




ErrorLog logs/error.log


LogLevel warn


LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined
LogFormat "%h %l %u %t \"%r\" %>s %b" common
LogFormat "%{Referer}i -> %U" referer
LogFormat "%{User-agent}i" agent


CustomLog logs/access.log common


ServerTokens Full


ServerSignature On


Alias /icons/ "D:/programme/Apache/Apache2/icons/"

<Directory "D:/programme/Apache/Apache2/icons">
Options Indexes MultiViews
AllowOverride None
Order allow,deny
Allow from all
</Directory>


AliasMatch ^/manual(?:/(?:de|en|es|fr|ja|ko|ru))?(/.*)?$ "D:/programme/Apache/Apache2/manual$1"

<Directory "D:/programme/Apache/Apache2/manual">
Options Indexes
AllowOverride None
Order allow,deny
Allow from all

<Files *.html>
SetHandler type-map
</Files>

SetEnvIf Request_URI ^/manual/de/ prefer-language=de
SetEnvIf Request_URI ^/manual/en/ prefer-language=en
SetEnvIf Request_URI ^/manual/es/ prefer-language=es
SetEnvIf Request_URI ^/manual/fr/ prefer-language=fr
SetEnvIf Request_URI ^/manual/ja/ prefer-language=ja
SetEnvIf Request_URI ^/manual/ko/ prefer-language=ko
SetEnvIf Request_URI ^/manual/ru/ prefer-language=ru
RedirectMatch 301 ^/manual(?:/(de|en|es|fr|ja|ko|ru)){2,}(/.*)?$ /manual/$1$2
</Directory>


ScriptAlias /cgi-bin/ "D:/programme/Apache/Apache2/cgi-bin/"


<Directory "D:/programme/Apache/Apache2/cgi-bin">
AllowOverride None

Order allow,deny
Allow from all
</Directory>


ScriptAlias /php/ "d:/programme/php/"
AddType application/x-httpd-php .php .php3
Action application/x-httpd-php "/php/php.exe"


IndexOptions FancyIndexing VersionSort


AddIconByEncoding (CMP,/icons/compressed.gif) x-compress x-gzip

AddIconByType (TXT,/icons/text.gif) text/*
AddIconByType (IMG,/icons/image2.gif) image/*
AddIconByType (SND,/icons/sound2.gif) audio/*
AddIconByType (VID,/icons/movie.gif) video/*

AddIcon /icons/binary.gif .bin .exe
AddIcon /icons/binhex.gif .hqx
AddIcon /icons/tar.gif .tar
AddIcon /icons/world2.gif .wrl .wrl.gz .vrml .vrm .iv
AddIcon /icons/compressed.gif .Z .z .tgz .gz .zip
AddIcon /icons/a.gif .ps .ai .eps
AddIcon /icons/layout.gif .html .shtml .htm .pdf
AddIcon /icons/text.gif .txt
AddIcon /icons/c.gif .c
AddIcon /icons/p.gif .pl .py
AddIcon /icons/f.gif .for
AddIcon /icons/dvi.gif .dvi
AddIcon /icons/uuencoded.gif .uu
AddIcon /icons/script.gif .conf .sh .shar .csh .ksh .tcl
AddIcon /icons/tex.gif .tex
AddIcon /icons/bomb.gif core

AddIcon /icons/back.gif ..
AddIcon /icons/hand.right.gif README
AddIcon /icons/folder.gif ^^DIRECTORY^^
AddIcon /icons/blank.gif ^^BLANKICON^^


DefaultIcon /icons/unknown.gif


ReadmeName README.html
HeaderName HEADER.html


IndexIgnore .??* *~ *# HEADER* README* RCS CVS *,v *,t


AddLanguage ca .ca
AddLanguage cs .cz .cs
AddLanguage da .dk
AddLanguage de .de
AddLanguage el .el
AddLanguage en .en
AddLanguage eo .eo
AddLanguage es .es
AddLanguage et .et
AddLanguage fr .fr
AddLanguage he .he
AddLanguage hr .hr
AddLanguage it .it
AddLanguage ja .ja
AddLanguage ko .ko
AddLanguage ltz .ltz
AddLanguage nl .nl
AddLanguage nn .nn
AddLanguage no .no
AddLanguage pl .po
AddLanguage pt .pt
AddLanguage pt-BR .pt-br
AddLanguage ru .ru
AddLanguage sv .sv
AddLanguage zh-CN .zh-cn
AddLanguage zh-TW .zh-tw


LanguagePriority en ca cs da de el eo es et fr he hr it ja ko ltz nl nn no pl pt pt-BR ru sv zh-CN zh-TW


ForceLanguagePriority Prefer Fallback


AddDefaultCharset ISO-8859-1


AddCharset ISO-8859-1 .iso8859-1 .latin1
AddCharset ISO-8859-2 .iso8859-2 .latin2 .cen
AddCharset ISO-8859-3 .iso8859-3 .latin3
AddCharset ISO-8859-4 .iso8859-4 .latin4
AddCharset ISO-8859-5 .iso8859-5 .latin5 .cyr .iso-ru
AddCharset ISO-8859-6 .iso8859-6 .latin6 .arb
AddCharset ISO-8859-7 .iso8859-7 .latin7 .grk
AddCharset ISO-8859-8 .iso8859-8 .latin8 .heb
AddCharset ISO-8859-9 .iso8859-9 .latin9 .trk
AddCharset ISO-2022-JP .iso2022-jp .jis
AddCharset ISO-2022-KR .iso2022-kr .kis
AddCharset ISO-2022-CN .iso2022-cn .cis
AddCharset Big5 .Big5 .big5

AddCharset WINDOWS-1251 .cp-1251 .win-1251
AddCharset CP866 .cp866
AddCharset KOI8-r .koi8-r .koi8-ru
AddCharset KOI8-ru .koi8-uk .ua
AddCharset ISO-10646-UCS-2 .ucs2
AddCharset ISO-10646-UCS-4 .ucs4
AddCharset UTF-8 .utf8


AddCharset GB2312 .gb2312 .gb
AddCharset utf-7 .utf7
AddCharset utf-8 .utf8
AddCharset big5 .big5 .b5
AddCharset EUC-TW .euc-tw
AddCharset EUC-JP .euc-jp
AddCharset EUC-KR .euc-kr
AddCharset shift_jis .sjis


AddType application/x-compress .Z
AddType application/x-gzip .gz .tgz


AddHandler cgi-script .cgi .pl




AddHandler type-map var





BrowserMatch "Mozilla/2" nokeepalive
BrowserMatch "MSIE 4\.0b2;" nokeepalive downgrade-1.0 force-response-1.0
BrowserMatch "RealPlayer 4\.0" force-response-1.0
BrowserMatch "Java/1\.0" force-response-1.0
BrowserMatch "JDK/1\.0" force-response-1.0


BrowserMatch "Microsoft Data Access Internet Publishing Provider" redirect-carefully
BrowserMatch "^WebDrive" redirect-carefully
BrowserMatch "^WebDAVFS/1.[012]" redirect-carefully
BrowserMatch "^gnome-vfs" redirect-carefully





<IfModule mod_ssl.c>
Include conf/ssl.conf
</IfModule>
wsurfer78
 2006-01-30 15:53
#62421 #62421
User since
2006-01-30
7 Artikel
BenutzerIn
[default_avatar]
Also die Access sieht folgendermaßen aus:

127.0.0.1 - - [30/Jan/2006:14:51:15 +0100] "GET /cgi-bin/printenv.pl HTTP/1.1" 200 1134


Die error:

[Mon Jan 30 14:50:43 2006] [notice] Parent: Received restart signal -- Restarting the server.
[Mon Jan 30 14:50:43 2006] [notice] Child 2924: Exit event signaled. Child process is ending.
[Mon Jan 30 14:50:43 2006] [notice] Parent: Created child process 3364
[Mon Jan 30 14:50:43 2006] [notice] Child 3364: Child process is running
[Mon Jan 30 14:50:44 2006] [notice] Child 2924: Released the start mutex
[Mon Jan 30 14:50:44 2006] [notice] Child 3364: Acquired the start mutex.
[Mon Jan 30 14:50:44 2006] [notice] Child 3364: Starting 250 worker threads.
[Mon Jan 30 14:50:45 2006] [notice] Child 2924: Waiting for 250 worker threads to exit.
[Mon Jan 30 14:50:45 2006] [notice] Child 2924: All worker threads have exited.
[Mon Jan 30 14:50:45 2006] [notice] Child 2924: Child process is exiting



Sehe eigentlich nix, was falsch wäre
Crian
 2006-01-30 16:00
#62422 #62422
User since
2003-08-04
5873 Artikel
ModeratorIn
[Homepage]
user image
die Antwort war sinnvoll
s--Pevna-;s.([a-z]).chr((ord($1)-84)%26+97).gee; s^([A-Z])^chr((ord($1)-52)%26+65)^gee;print;

use strict; use warnings; Link zu meiner Perlseite
<< |< 1 2 >| >> 16 Einträge, 2 Seiten



View all threads created 2006-01-30 13:25.