Click to See Complete Forum and Search --> : CGI configuration on Linux
oefinger
04-19-2001, 06:13 PM
I'd like to configure my Linux box as a CGI server. What steps do I need to take? Also,
can someone explain some of the advantages/
disadvantages of CGI vs. ASP as a server-side
scripting tool? What other server-side scripting tools are out there?
Thanks in advance.
gammaray51
04-20-2001, 01:54 AM
never used asp so I cant help you on that. Your server software should setup a cgi-bin directory where everything can be executed from. If not then you will need to create one and tell the server where it is in the config file. Then you need to make sure that you make the it executable. This can be done with a chmod -755 (I think, you may want to check on that).
chomd 755 is correct - this will give -rwxr-xr-x.
You need to install/configure a web server and put your cgi binaries in the right directories. The main disadvantage of running CGI is that you need to spawn an external binary every time the client wants to do anyything. The main advantage is that you can really restrict the # of holes through your firewall.
Now that we support Java Server Pages, we're trying to phase out CGI support in favor of JSPs - then you just need a little servlet server like Tomcat or Enhydra, which are really easy to set up.
Pestilence
04-27-2001, 12:54 AM
ASP is Windows only so it's not even an option for you. http://www.sharkyforums.com/ubb/tongue.gif And what type of cgi are you referring to? Perl cgi? C cgi? Php?
------------------
(\__/) See the bunny.
(='.'=) Hear the bunny.
(") (") Pet the bunny.
BE the bunny.
Data Structure programming assignment solutions found here! http://www.sa.sc.edu/cp/java/
By Yours truly.