View previous topic :: View next topic |
Author |
Message |
203mb -
Joined: 08 Apr 2005 Posts: 3
|
Posted: Fri Apr 08, 2005 4:45 pm Post subject: I am really new to CGI, can someone help me please? |
|
|
I don't know how to setup my computer to become a webserver that can execute the cgi webpages, I tried many ways but all are not work, can someone help me? Thank you very much! |
|
Back to top |
|
|
aprelium -
Joined: 22 Mar 2002 Posts: 6800
|
Posted: Fri Apr 08, 2005 6:08 pm Post subject: Re: I am really new to CGI, can someone help me please? |
|
|
203mb wrote: | I don't know how to setup my computer to become a webserver that can execute the cgi webpages, I tried many ways but all are not work, can someone help me? Thank you very much! |
What kind of CGI pages do you have? In which scripting languages they are written (Perl, PHP, or something else)??? _________________ Support Team
Aprelium - http://www.aprelium.com |
|
Back to top |
|
|
203mb -
Joined: 08 Apr 2005 Posts: 3
|
Posted: Sat Apr 09, 2005 7:52 am Post subject: THank you for yr reply. |
|
|
I found the program was written by perl, and can u twll me how to setup a perl web server? Thanks a lot ! :) |
|
Back to top |
|
|
TRUSTAbyss -
Joined: 29 Oct 2003 Posts: 3752 Location: USA, GA
|
Posted: Sat Apr 09, 2005 1:02 pm Post subject: |
|
|
Have a look at www.aprelium.com/abyssws/perl.html and it will explain how to
setup Perl for Abyss Web Server , I personally recommend PHP because its a
little faster than the Perl and much easier to program in. PHP Rocks!
Sincerely , TRUSTpunk |
|
Back to top |
|
|
203mb -
Joined: 08 Apr 2005 Posts: 3
|
Posted: Wed Apr 13, 2005 6:51 am Post subject: Thank you |
|
|
But I still cannot setup my webserver, maybe win98 can not be a cgi web server? |
|
Back to top |
|
|
aprelium -
Joined: 22 Mar 2002 Posts: 6800
|
Posted: Wed Apr 13, 2005 1:38 pm Post subject: Re: Thank you |
|
|
203mb wrote: | But I still cannot setup my webserver, maybe win98 can not be a cgi web server? |
Abyss+Perl work fine on Win98.
You said you "cannot setup your webserver". Can you please be more explicit about the problems you has or the error messages you have received. _________________ Support Team
Aprelium - http://www.aprelium.com |
|
Back to top |
|
|
Spud2004 -
Joined: 12 Sep 2004 Posts: 30
|
Posted: Thu Apr 14, 2005 2:21 pm Post subject: Can't find cgi-bin error 404 running a PowerBasic cgi. |
|
|
1 Does a path to the cgi-bin folder need to be made? Get error 404.
2 Does the file extension of .EXE need to be added to run an executable?
3 Does a the folder cgi-bin need to be created? If so, where?
4 Is this done with virtual paths?
Example:
Abyss is installed in a folder named "C:\TEST"
Where would the folder cgi-bin be created or does Abyss do it? |
|
Back to top |
|
|
Spud2004 -
Joined: 12 Sep 2004 Posts: 30
|
Posted: Thu Apr 14, 2005 2:35 pm Post subject: Alias needed to get cgi-bin to work? |
|
|
Getting program to run by using Alias panel:
virtual /cgi-bin
real c:\test\cgi-bin
Is this correct? |
|
Back to top |
|
|
aprelium -
Joined: 22 Mar 2002 Posts: 6800
|
Posted: Fri Apr 15, 2005 5:37 pm Post subject: Re: Can't find cgi-bin error 404 running a PowerBasic cgi. |
|
|
Spud2004,
You can create an alias as you have done or simply create a sub-directory called cgi-bin inside your htdocs/ directory.
To run .exe files as CGI applications you should update your "Script Paths". For example, if the .exe files inside /cgi-bin should be run (instead of being downloaded), you should add to "Script Paths" the virtual path /cgi-bin/*.exe . _________________ Support Team
Aprelium - http://www.aprelium.com |
|
Back to top |
|
|
Spud2004 -
Joined: 12 Sep 2004 Posts: 30
|
Posted: Fri Apr 15, 2005 5:40 pm Post subject: |
|
|
Thank you! |
|
Back to top |
|
|
|