Perl - basic configuration
Aus HS Syswiki
(Unterschied zwischen Versionen)
Vkl (Diskussion | Beiträge) |
Jre (Diskussion | Beiträge) |
||
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";