View previous topic :: View next topic |
Author |
Message |
bobdogz -
Joined: 25 May 2006 Posts: 1
|
Posted: Thu May 25, 2006 9:47 am Post subject: c programming -> cgi files |
|
|
I have been using Abyss with php and perl support without any hassle. However I tried to use Abyss with some executable cgi files, written using C, and IE kept on trying to download the file instead of executing it.
WebGui folder is in 'htdocs' and all the cgi files are inside a cgi-bin subdirectory.
May I know what I did wrong? I searched through the forum, and it's written that I have to add in 'CGI Path', but I cannot find this option in the console.
I have activated 'Resolve Interpreter from the Windows Registry' in 'CGI Parameters', and added 'index.cgi' in 'Index Files'. What have I missed out? |
|
Back to top |
|
|
aprelium -
Joined: 22 Mar 2002 Posts: 6800
|
Posted: Thu May 25, 2006 10:51 am Post subject: Re: c programming -> cgi files |
|
|
bobdogz wrote: | May I know what I did wrong? I searched through the forum, and it's written that I have to add in 'CGI Path', but I cannot find this option in the console. |
"CGI Path" was present in Abyss Web Server 1.x. In the new versions (2.x), this table has been renamed to "Script Paths".
So if your C compiled files are in /cgi-bin, and if their names end with .exe, you'll have to add /cgi-bin/*.exe to the "Script Paths" table. You can also turn off "Resolve Interpreter from the Windows Registry" as has no effect on .exe files. _________________ Support Team
Aprelium - http://www.aprelium.com |
|
Back to top |
|
|
|
|
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
|
|