View previous topic :: View next topic |
Author |
Message |
Consumed -
Joined: 12 Feb 2005 Posts: 2 Location: Right behind you
|
Posted: Tue Feb 15, 2005 4:08 am Post subject: Installing Tcl |
|
|
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 |
|
|
aprelium -
Joined: 22 Mar 2002 Posts: 6800
|
Posted: Tue Feb 15, 2005 4:21 pm Post subject: Re: Installing Tcl |
|
|
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 |
|
|
Consumed -
Joined: 12 Feb 2005 Posts: 2 Location: Right behind you
|
|
Back to top |
|
|
Fallout -
Joined: 25 Oct 2003 Posts: 18 Location: Poland
|
Posted: Tue Mar 08, 2005 2:54 pm Post subject: I cant run it |
|
|
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 |
|
|
admin Site Admin
Joined: 03 Mar 2002 Posts: 1295
|
Posted: Tue Mar 08, 2005 6:39 pm Post subject: Re: I cant run it |
|
|
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 |
|
|
Fallout -
Joined: 25 Oct 2003 Posts: 18 Location: Poland
|
Posted: Tue Mar 08, 2005 9:03 pm Post subject: Re: I cant run it |
|
|
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 |
|
|
aprelium -
Joined: 22 Mar 2002 Posts: 6800
|
Posted: Tue Mar 08, 2005 10:45 pm Post subject: Re: I cant run it |
|
|
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 |
|
|
|