Web Site Developer Information
The following section provides information useful for web site
development at Silicon Valley Web Hosting.
Silicon Valley Web Hosting provides the following CGI programs
available via the /g-cgi-bin directory. /g-cgi-bin is mapped into your
virtual server from a directory containing various popular CGI programs
that we've modified for Silicon Valley Web Hosting customer use.
| Count.cgi |
Very popular and flexible web page counter and clock. |
| FormMail |
Web based form mailer script. |
| Guestbook |
Easy to implement guest book program based on a script by Kevin Meltzer. |
| SimpleCount |
Effective yet and easy to use web page counter. |
For your html documents to be readable by the web server the read bits should be set for both
the user and other fields:
{svwh@giedi-prime:1} chmod 604 index.shtml
{svwh@giedi-prime:2} ls -l index.shtml
-rw----r-- 1 svwh users 864 Jul 3 23:05 index.shtml
CGI scripts must have the execute bit set for user and other field:
{svwh@giedi-prime:1} chmod 705 signup.cgi
{svwh@giedi-prime:14} ls -l signup.cgi
-rwx---r-x 1 svwh users 733 Apr 14 16:09 signup.cgi
You can tell the web server about your custom mime types via a
.htaccess file. Simply create a file named .htaccess in your
document root and add the mime type using the AddType directive.
Example .htaccess file:
AddType application/pdf pdf
|