Perl - basic configuration

Aus HS Syswiki
(Unterschied zwischen Versionen)
Wechseln zu: Navigation, Suche
 
Zeile 1: Zeile 1:
 +
[[Category:ServerAdmin]]
 +
{{note|ServerAdmin content. Please ignore and move.|error}}
 +
 
For all Perl scripts is needed to specify Content-type, otherwise there is an Internal-Server Error.
 
For all Perl scripts is needed to specify Content-type, otherwise there is an Internal-Server Error.
 
<syntaxhighlight lang="bash" style="font-size:9pt;">
 
<syntaxhighlight lang="bash" style="font-size:9pt;">

Aktuelle Version vom 25. Juni 2014, 17:21 Uhr

ServerAdmin content. Please ignore and move.

For all Perl scripts is needed to specify Content-type, otherwise there is an Internal-Server Error.

#!/usr/bin/perl
print "Content-type: text/html\n\n";
print "Hello World!\n";
Meine Werkzeuge
Namensräume

Varianten
Aktionen
Navigation
Werkzeuge