CoE Home | computing | web |
Setup public_html for CGI scripting
How to set up your own CGI scripts and/or programs
- Read all about CGI and understand the security issues
- Create a directory called cgi-bin in your public_html directory.
- From the terminal, do 'chmod o+rx ~/public_html/cgi-bin'
- Place any CGI programs in your cgi-bin directory.
- Call your cgi programs from your html files in one of the following formats:
- /cgi-bin/cgiwrap/user/prog
- /cgi-bin/cgiwrap/~user/ prog
- /cgi-bin/cgiwrap/~user/ prog?FOO BAR BAR
Article Information:
Date Created: Aug 22, 2003
Last Modified: Wed, Jul 25, 2007 1:58 PM
Views: 6807
|