Support to Windows Scripting Host

 
Post new topic   Reply to topic    Aprelium Forum Index -> FastCGI/CGI
View previous topic :: View next topic  
Author Message
kalanmaksa
-


Joined: 03 Jan 2003
Posts: 5

PostPosted: Tue Jan 07, 2003 10:41 pm    Post subject: Support to Windows Scripting Host Reply with quote

Hi!

I have made some experiments with Windows Scripting Host.
It can be used as CGI but there some problems.

I use c:\winnt\system32\cscript.exe

when run myprog.vbs it runs ok but i cant make myprog.vbs send messages (Location: myform.htm) back to user cause cscript.exe displays its logo every time it runs.

When i disable cscript.exe to display no logo from windows registry it runs my script forwards to myform.htm but then it opens download file process window.

For now i have made simple exe that gets all messages from server and redirects them "cscript.exe //Nologo myprog.vbs" it works fine.

Problem is that i dont want to use any exe

Do i miss some config or is ms-scripting not supported? yet ;-)
Back to top View user's profile Send private message
aprelium
-


Joined: 22 Mar 2002
Posts: 6800

PostPosted: Wed Jan 08, 2003 12:14 am    Post subject: Re: Support to Windows Scripting Host Reply with quote

There is no special support for Windows Scripting now. CScript is considered as any regular CGI interpreter.
We will some test on it and give you more information as soon as possible.
_________________
Support Team
Aprelium - http://www.aprelium.com
Back to top View user's profile Send private message Send e-mail
kalanmaksa
-


Joined: 03 Jan 2003
Posts: 5

PostPosted: Fri Nov 28, 2003 1:29 pm    Post subject: Cscript support now? Reply with quote

Hello after break..

Short question: Is there support to Windows Scripting Host (Cscript) now?
Back to top View user's profile Send private message
aprelium
-


Joined: 22 Mar 2002
Posts: 6800

PostPosted: Sun Nov 30, 2003 6:20 pm    Post subject: Re: Cscript support now? Reply with quote

kalanmaksa,

Can you please post here your .vbs file or send it to us to support@aprelium.com. We'd like to test it and see what was wrong with it.
_________________
Support Team
Aprelium - http://www.aprelium.com
Back to top View user's profile Send private message Send e-mail
kalanmaksa
-


Joined: 03 Jan 2003
Posts: 5

PostPosted: Thu Dec 04, 2003 1:22 pm    Post subject: The Test.vbs Script Reply with quote

'Test.vbs
'Here is test script. Output to logfile works fine,
' but i cant put any text to browser.

Wscript.Echo "Content-type: text/plain"
Wscript.Echo chr(10) 'Linefeed
Wscript.Echo "Plain text test!"

'Put time to logfile
Set fso = CreateObject("Scripting.FileSystemObject")
Set f = fso.OpenTextFile(".\test_time.txt",8, True)
f.Writeline now
Back to top View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Aprelium Forum Index -> FastCGI/CGI All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB phpBB Group