View previous topic :: View next topic |
Author |
Message |
Kira Guest
|
Posted: Thu Jul 11, 2002 2:18 pm Post subject: How to work CGI ? |
|
|
I'm trying to install a script on my webpage how do i do that ? I put the .cgi file in the cgi-bin folder, but when it's accessed from the internet it just starts downloading it... How do I make it work ?
And also, what should I put in as a first line inside the CGI file ? [ the perl location ] ? |
|
Back to top |
|
|
aprelium -
Joined: 22 Mar 2002 Posts: 6800
|
Posted: Fri Jul 12, 2002 3:44 am Post subject: Re: How to work CGI ? |
|
|
Kira wrote: | I'm trying to install a script on my webpage how do i do that ? I put the .cgi file in the cgi-bin folder, but when it's accessed from the internet it just starts downloading it... How do I make it work ?
|
Install Perl following our installation instructions at http://www.aprelium.com/abyssws/perl.html (if not yet done). Declare cgi extension as handled by Perl (as you did for the pl extension).
Kira wrote: |
And also, what should I put in as a first line inside the CGI file ? [ the perl location ] ? |
You can ignore it as Abyss Web Server can rely only on the script extension to guess what interpreter it must use.
That's it. _________________ Support Team
Aprelium - http://www.aprelium.com |
|
Back to top |
|
|
|