www.webdeveloper.com
Results 1 to 2 of 2

Thread: how to configure IIS with perl ?

  1. #1
    Join Date
    Sep 2005
    Posts
    109

    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.

  2. #2
    Join Date
    Oct 2003
    Posts
    6
    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
  •  
HTML5 Development Center



Recent Articles