Welcome Guest ( Log In | Register)



 
Reply to this topicStart new topic
> Purpose Of Cgi-bin?
gotcha41
post Jan 24 2005, 07:24 PM
Post #1


Advanced Member
*******

Group: Members
Posts: 142
Joined: 24-September 04
From: Belgium
Member No.: 1,260



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
Go to the top of the page
 
+Quote Post
Deaths Aprentice
post Jan 24 2005, 07:31 PM
Post #2


.: http://www.xgnews.tk :.
*******

Group: Members
Posts: 119
Joined: 29-October 04
Member No.: 2,025



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...
Go to the top of the page
 
+Quote Post
xboxrulz
post Jan 24 2005, 07:43 PM
Post #3


POWERED BY LINUX!
*********

Group: Members
Posts: 607
Joined: 11-July 04
From: Toronto, Canada
Member No.: 78



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
Go to the top of the page
 
+Quote Post
bjrn
post Jan 24 2005, 10:26 PM
Post #4


Super Member
*********

Group: Members
Posts: 378
Joined: 8-January 05
Member No.: 3,174



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.
Go to the top of the page
 
+Quote Post
T100
post Jan 25 2005, 12:34 AM
Post #5


Super Member
*********

Group: Members
Posts: 283
Joined: 17-December 04
Member No.: 2,764



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.
Go to the top of the page
 
+Quote Post
xboxrulz
post Jan 25 2005, 02:36 AM
Post #6


POWERED BY LINUX!
*********

Group: Members
Posts: 607
Joined: 11-July 04
From: Toronto, Canada
Member No.: 78



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
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic

Collapse

> Similar Topics

Topics Topics
  1. Free Hosting For Student(3)
  2. What Is The Purpose Of The Percentage Symbol In C?(9)
  3. My Purpose On This Forum(10)
  4. The Trap17 All-purpose Help Desk(4)
  5. The Best Tv Advert Ever?(4)


 



- Lo-Fi Version Time is now: 5th September 2008 - 09:18 AM