Installing Tcl

 
Post new topic   Reply to topic    Aprelium Forum Index -> Tutorials
View previous topic :: View next topic  
Author Message
Consumed
-


Joined: 12 Feb 2005
Posts: 2
Location: Right behind you

PostPosted: Tue Feb 15, 2005 4:08 am    Post subject: Installing Tcl Reply with quote

Abyss Web Server X1

Go grab ActiveTcl from here: http://www.activestate.com/Products/Download/Download.plex?id=ActiveTcl

In your console go to Server Confiuration -> Advanced -> CGI Parameters.
Set CGI Processing Enabled to Yes.
Under CGI Interpreters click Add...
In the Interpreter field type in the path to Tcl(e.g. C:\Tcl\bin\tclsh.exe).
In Associated Extensions type tcl.
Set Automatic Update of the CGI Paths to Yes and click Ok and Ok again.
Now go to Server Parameters and add index.tcl as an index file, click Ok, and then click Restart.

You can use this script to test Tcl:
Code:
puts "Content-type: text/html\n\n"
puts "<b>hello</b>"

_________________
C++ Learning Community
X-Chat 2 for Windows
Back to top View user's profile Send private message Visit poster's website
aprelium
-


Joined: 22 Mar 2002
Posts: 6800

PostPosted: Tue Feb 15, 2005 4:21 pm    Post subject: Re: Installing Tcl Reply with quote

Consumed,

Thank you for the tutorial.

Out of curiosity, do you know about interesting TCL CGI scripts?
_________________
Support Team
Aprelium - http://www.aprelium.com
Back to top View user's profile Send private message Send e-mail
Consumed
-


Joined: 12 Feb 2005
Posts: 2
Location: Right behind you

PostPosted: Fri Feb 18, 2005 7:03 am    Post subject: Reply with quote

Not really. I've mostly just used C++ for CGI scripting.
_________________
C++ Learning Community
X-Chat 2 for Windows
Back to top View user's profile Send private message Visit poster's website
Fallout
-


Joined: 25 Oct 2003
Posts: 18
Location: Poland

PostPosted: Tue Mar 08, 2005 2:54 pm    Post subject: I cant run it Reply with quote

Hi

I installed it as You write but every time i have:


Error 500
Internal Server Error

whats wrong?
I have version final version of AWS
_________________
http://aws.xt.pl -> Abyss Web Server Polish Site & Forum
Back to top View user's profile Send private message Send e-mail Visit poster's website
admin
Site Admin


Joined: 03 Mar 2002
Posts: 1295

PostPosted: Tue Mar 08, 2005 6:39 pm    Post subject: Re: I cant run it Reply with quote

Fallout,

With the version 2, when error 500 is reported, you can find a detailed explanation of its cause in log/cgi.log file.
Back to top View user's profile Send private message
Fallout
-


Joined: 25 Oct 2003
Posts: 18
Location: Poland

PostPosted: Tue Mar 08, 2005 9:03 pm    Post subject: Re: I cant run it Reply with quote

admin wrote:
Fallout,

With the version 2, when error 500 is reported, you can find a detailed explanation of its cause in log/cgi.log file.


Thanks, but Error 500 is shows when i.e. script have parse errors?
_________________
http://aws.xt.pl -> Abyss Web Server Polish Site & Forum
Back to top View user's profile Send private message Send e-mail Visit poster's website
aprelium
-


Joined: 22 Mar 2002
Posts: 6800

PostPosted: Tue Mar 08, 2005 10:45 pm    Post subject: Re: I cant run it Reply with quote

Fallout wrote:

Thanks, but Error 500 is shows when i.e. script have parse errors?

May be. The TCL detailed error message is dumped in log/cgi.log .
_________________
Support Team
Aprelium - http://www.aprelium.com
Back to top View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic    Aprelium Forum Index -> Tutorials 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