-
how to configure IIS with perl ?
Hello, the following is my code. There is an error message
#!/perl/bin/perl
#
# Program to do the obvious
#
print 'Hello world.';
Error message:
CGI Error
The specified CGI application misbehaved by not returning a complete set of HTTP headers. The headers it did return are:
How can I fix it ? Thanks.
Hello world.
-
Usually on IIS, the path to Perl is something like:
#!C:/Perl/bin/perl.exe
...but your error is probably because you're not printing the header. Try
#!/perl/bin/perl
#
# Program to do the obvious
#
use CGI ':standard';
print header;
print 'Hello world.';
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
|
|
Bookmarks