CGI error (need help)

From: Bernard (webmaster_at_archiefnet.nl)
Date: 11/28/03

  • Next message: Paul: "regex help"
    Date: Fri, 28 Nov 2003 15:26:43 +0100
    
    

    Hi,

    I have a problem with a CGI script (Perl) on a Win2000 server.
    The script is for sending E-cards and was written by Jason Maloney:
    http://www.aestheticsurgerycenter.com/scripts/postcard/postcard1.shtml
    You can choose from some cards, add your own text and send it to a friend.
    This friend get a mail which tell him/her that he/she has a mail and have to
    click a link.
    So far everything works just fine.
    But when the recipient clicks the link he/she gets the following error
    message in the browser window:
    ----------------------------------------------------
    CGI Error
    The specified CGI application misbehaved by not returning a complete set of
    HTTP headers. The headers it did return are:
    Can't open perl script
    "D:\Inetpub\HCO\www\cgi-bin\postcard\card.cgi1070022045": No such file or
    directory
    --------------------------------------------------------
    The cgi script is in \cgi-bin\postcard\card.cgi
    But the data it has to retrieve is in
    \cgi-bin\postcard\cards\1070022045.dat(for example)
    Each mail generates a new .dat file.

    Any ideas???
    I already had contact with the author, but he tested it only on a Win NT
    server which worked just fine. He has no experience with Win2000 server

    You can try it on our test site:
    http://195.86.135.223/cgi-bin/postcard/index.html

    Thanks,
    Bernard


  • Next message: Paul: "regex help"

    Relevant Pages

    • Re: How to embed javascript functionality into a Perl CGI script?
      ... Does it mean we can't do dynamic magic in CGI Perl? ... JSP executes on server side and Javascript on the client. ... >> HTML content using Perl CGI script. ...
      (comp.lang.perl.misc)
    • Server permission problems and SchAgent
      ... I was using a CGI script in an Apache2/Win2k ... on the server and across the network. ... Since I was using Perl CGI I ran over to CPAN ... fires a Pipe client (setup as a Scheduled Task) to read ...
      (microsoft.public.scripting.vbscript)
    • Server permission problems and SchAgent
      ... I was using a CGI script in an Apache2/Win2k ... on the server and across the network. ... Since I was using Perl CGI I ran over to CPAN ... fires a Pipe client (setup as a Scheduled Task) to read ...
      (microsoft.public.scripting.wsh)
    • Re: IIS Config Help - This is a hard one - Migration from Linux to Win2K
      ... Migrate Apache Settings and Configure IIS in a UNIX-to-Windows ... > I am migrating a website from a Linux server to a Win2k server. ... > to a CGI script. ... > pop-up the binary data in a new browser page. ...
      (microsoft.public.inetserver.iis.security)
    • about CGI
      ... I don't know Perl to build a CGI script but I know C++. ... The html page inside the server how is stored? ...
      (comp.lang.perl.misc)