Menu

#2 CGI doesn't work on Win32?

open
nobody
None
5
2002-12-11
2002-12-11
No

I'm trying to get a .vbs script outputting text as a cgi
program for nullhttpd.

I've added the {".vbs", "cscript.exe"} line to cgi_types.
Everything indicates that the vbs script is being run, but
nothing is ever output to the browser.

No errors are appearing anywhere. Any ideas where I
can look to figure out what's going wrong?

Cheers, and keep up the good work!

Discussion

  • Matthew Murphy

    Matthew Murphy - 2003-03-15

    Logged In: YES
    user_id=673987

    CScript outputs an MS banner before the output of the script -
    - this is probably screwing up Null HTTPd's CGI interpreter,
    as the banner lines don't conform to the CGI/1.1 specs.

    If you want a .vbs CGI, I suggest you wrap it with some other
    script that obliterates those first few lines of banners.
    Personally, I would write my CGI in binary C instead of VBS
    any day of the week. :-)

     
  • Tiberiu Craciun

    Tiberiu Craciun - 2004-07-20

    Logged In: YES
    user_id=20102

    I installed this server on Windows, bug CGI don't work at all, and as
    above, no errors appearing anywhere but nothing is output to the
    browser. I tried to make it work with PHP ( PHP is in the path )

    Does someone have a working compiled WIN32 version ?

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.