Hi there,
I want to call a Perl program under uhttpd. Unfortunately I only get the error message
Bad Gateway
The process did not produce any response
Here is my configuration:
config uhttpd 'ms1relay'
option listen_http '82'
option home '/www/ms1relay/html'
option cgi_prefix '/cgi-bin'
list interpreter '.pl=/usr/bin/perl'
option index_page 'index.html index.htm default.html default.htm index.php'
And this ist my perl programm to test the function:
#!/usr/bin/perl -w
use strict;
print <<END;
Content-Type: text/html;charset=UTF-8
<!Doctype html>
<html>
<head>
<title>Erstes Skript - Perl Code-Beispiel</title>
<meta charset="utf-8" />
<meta name="robots" content="noindex,nofollow" />
<meta name="publisher" content="Homepage-Webhilfe" />
</head>
<body>
<h1>Hallo Welt</h1>
<p>Dies ist das erste Perl-Skript! Abgesehen von der Ausgabe enthält dieses Skript keinen Code.</p>
</body>
</html>
END
Where can i found some error messages?
Thank you for your support
Stefan