Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - alexobelanger

#1
newLISP and the O.S. / newlisp cgi and IIS
July 22, 2004, 04:21:56 PM
Thanks Nigel, it did provide some pointers.



This article proved to be useful to me, it discusses how to make python scripts run on IIS



http://support.microsoft.com/default.aspx?scid=kb;en-us;276494&Product=iis50">http://support.microsoft.com/default.as ... duct=iis50">http://support.microsoft.com/default.aspx?scid=kb;en-us;276494&Product=iis50



When mapping the newlisp executable:

WRONG C:newlispnewlisp.exe

RIGHT C:newlispnewlisp.exe %s %s



helloworld.cgi and environment.cgi does work...but not index.cgi yet

will continue working on it...



- Alex
#2
Gents,



This may be a newbie topic for you. I am trying to get the newlips-blog 3 7 to work with IIS 5



Here is what I did,



1. Install newlisp on C:newlisp

2. Extract the .tgz to C:InetPubwwwrootblog

3. Created a virtual folder (alias=blog)

4. Mapped .cgi extension to C:newlispnewlisp.exe

5. Check NTFS file permissions, look alright

6. modify index.cgi first line

FROM #!/usr/bin/newlisp

TO #!/newlisp

using IE -> http://localhost/blog/index.cgi">http://localhost/blog/index.cgi

Got error message:

"CGI Timeout

The specified CGI application exceeded the allowed time for processing. The server has deleted the process."

7. created helloworld.cgi:

#!/newlisp

(print "Content-type: text/htmlrnrn")

(println "<h2>Hello World</h2>")

(exit)



using IE -> http://localhost/blog/helloworld.cgi">http://localhost/blog/helloworld.cgi

Got error message:

"CGI Timeout

The specified CGI application exceeded the allowed time for processing. The server has deleted the process."



I see the newlisp.exe process start in the windows task manager, which would indicate the mapping is ok!

Any ideas?



Thanks,



- Alex