Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

cgi-bin on NT 1

Status
Not open for further replies.

cic

Technical User
Apr 12, 2001
28
US
Can someone please explain what a cgi-bin is for? I have to upload a database created with omnis studio in my cgi-bin. However, My site is located on a NT server which does not have a cgi-bin. Is this something that my ISP should set up for me?
 
What cgi-bin is for? well.....

when we say web-server, we can be refering to one of two
things: the physical machine and the process on that
machine that listens to a port for an HTTP request. When
I say web-server, I mean that process that is doing the
web page serving.

Since 'cgi' applications give outside users the ability
to run programs on a machine, most web servers try to
limit what the web-server process can do. One method
of restricting what a web-server process can do is to
tell it that it is allowed to run programs only if they
reside in specific spot in the directory structure on
that machine. That spot is separate from where the
machine stores all of its OS commands. This makes it
so that the OS commands are not directly available to
cgi application (web) users. The cgi programs can find
and use the OS commands, but the web user can only run
the programs in the specified cgi directory. That
directory is the 'cgi-bin'. That name is a naming
convention commonly used by Apache and many other
web-server software packages. However, true to form,
M$ decided to call theirs something different. But,
no matter what they call it, they use the same general
pattern of a specified directory to contain those
programs that the web-server is allowed to run.

If you want to install a 'cgi' program on your service
provider's machine, you will need to ask them for the
specifics: what web-server software they are using and
where they want you to put your stuff.

HTH


keep the rudder amid ship and beware the odd typo
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top