You are here

How to write a CGI program for my Web Page?

Visit the following links:

Where can I find some sample cgi programs to run on for testing?
Sample cgi programs can be found at
Just follow the exercises and place the cgi programs in /public_html/cgi-bin

Where do I place the cgi programs?
For the server, place them in the directory ~/public_html/cgi-bin

How can I make a cgi program secure (not readable by others)?
You can declare a group called "nobody", and set the file mode of this cgi file to be readable by group.

What is Server Side Includes (SSI)?
A server-side include is a variable value (for example, a file "Last modified" date) that a server can include in an HTML file before it sends it to the requestor.
Visit the following links:

Service Category: