How to work CGI ?

 
Post new topic   Reply to topic    Aprelium Forum Index -> General Questions
View previous topic :: View next topic  
Author Message
Kira
Guest





PostPosted: Thu Jul 11, 2002 2:18 pm    Post subject: How to work CGI ? Reply with quote

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

PostPosted: Fri Jul 12, 2002 3:44 am    Post subject: Re: How to work CGI ? Reply with quote

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 View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic    Aprelium Forum Index -> General Questions 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