Purpose Of Cgi-bin?

free web hosting
Free Web Hosting, No Ads > CONTRIBUTE > Computers > Programming Languages > Others

Purpose Of Cgi-bin?

gotcha41
I'm not sure if i'm posting in the right (sub)forum but it certainly has something to do with it cool.gif .
Now, i wonder what's the meaning of "cgi-bin". When connecting to ftp you find a folder with this name. Can anyone tell me what its function is?

I also found this folders blink.gif :
- _vti_bin
- _vti_cnf
- _vti_log
- _vti_pvt
- _vti_txt


Thanks in advance! biggrin.gif

Reply

Deaths Aprentice
Also curious about this one oO.
I know they're there, and I know cgi-bin is created in every folder you create on your FTP, but I have no idea of what it actually does...

Reply

xboxrulz
cgi-bin is the folder where you put all your CGI scripts in. Perl, PHP and other server scripts do not require cgi-bin.

xboxrulz

Reply

bjrn
QUOTE(gotcha41 @ Jan 24 2005, 08:24 PM)
I also found this folders:
-  _vti_bin
-  _vti_cnf
-  _vti_log
-  _vti_pvt
-  _vti_txt

Those are for people who use Microsoft Frontpage extensions (or whatever they are called). If you don't use Frontpage you can safely delete them.

Reply

T100
cgi-bin is a default folder with execute privileges so that you can put perl scripts, Unix sh scripts and probably ruby scripts into it and run. Of course you can run some of the scripts in other folder if the host allows. But cgi-bin is a legacy thing that most of the scripts will probably run there. You may not like the /cgi-bin/ folder in your address, so some hosts offer an option for you to include cgi as a subdomain. Also, the host has to have perl mod and things ready.

Reply

xboxrulz
that's practically what I said..... but, pearl scripts actually work outside of the cgi-bin. I used to have scripts outside of cgi-bin that were pearl. Note: LINUX comes with perl because most graphical and function requires pearl.

xboxrulz

Reply



Got an Opinion! Express your Views! (no registration):-
Add your Reply/ Opinion/ Views/ Comments/ Suggestion/ Questions/ Queries etc.
Posts with decent grammar & English will be accepted and please refrain from profanities.
For asking a Question, We recommend you to sign-up (for free) so that you can track the topic easily.

Nature of your Post*: Opinion/ Reply/ Comments
Question/Query
Feedback to us.
       
Name   Email
Title/Question*

(Maximum characters: 10,000)
You have characters left.
Confirm Code:

Similar Topics

Keywords : purpose cgi bin


    Looking for purpose, cgi, bin

Searching Video's for purpose, cgi, bin
advertisement



Purpose Of Cgi-bin?



 

 

 

 

ADD REPLY / Got an Opinion! a humble request :-) RAPID SEARCH! Free Hosting [X]
Express your Opinions, Thoughts or Contribute more info. to help others.
Ask your Doubts & Queries to get answers, So that "Together We can help others!"
Register FREE for AD-FREE forum, Create your own topics, Ask Questions, track topics, setup subscriptions & notifications and Get a Free Website w/ Email and FTP.
500MB Space *No Ads*, CPanel, FTP, PHP, MySQL, EMails - 100% FREE