Zanyspace.com - Web Hosting for Ambitious Websites
Home Features Domains Terms Contact Us

 Powered by Zanynames
 

Fast & friendly assistance

USERNAME
Password


Adding Support for Dynamic Web Content

Related Docs:  

Adding Generic Scripts

  Quick Guide Index
  Contact Helpdesk

This document explains how to add support for dynamic web pages, including:

 

CGI Scripts

To add CGI support, it will suffice to create a CGI alias or, in other words, to specify a CGI file extension and a CGI handler for it, for instance Perl. For example, you can specify that all *.cgi files must be treated as executable Perl scripts.

To add a CGI alias, do the following:

  1. On the control panel home page, click Web Options. Select the domain if you have more than one.
  2. On the Web Service page that shows, scroll down to find the CGI-dir option and turn it on. Now all files in the cgi-bin directory will be treated as CGI executables. This is the directory to place all your cgi scripts.
  3. On the Web Service page, scroll down to find the CGI option and click the Add icon on its right.
  4. Enter an extension beginning with a dot and select the handler from the list:

 

PHP scripts

You can add support to your own PHP scripts. As of May 1st 2002, the highest supported version is PHP 4.2.1.

To add PHP support, do the following:

  1. On the control panel home page, click Web Options. Select the domain if you have more than one.
  2. On the Web Service page, scroll down to find the PHP option and turn it on.
  3. Agree with the charges.
  4. Skip this step if you are using a Windows-based plan.
    At the top of the Web Service page, click the Apply link for the Server configuration to change. The changes will take effect within 15 minutes.
  5. On the Web Service page, click the Add icon that has appeared next to the PHP option.
  6. On the page that appears, enter an extension for your PHP pages beginning with a dot, for instance .php4. Select the MIME type from the list.
  7. Skip this step if you are using a Windows-based plan.
    At the top of the Web Service page, click the Apply link for the Server configuration to change. The changes will take effect within 15 minutes.

 

Server Side Includes

You can add your own SSI aliases or, in other words, specify SSI file name extensions. For example, you can specify that all *.ssi files must be treated as server side includes.

To add an SSI alias, do the following:

  1. On the control panel home page, click Web Options. Select the domain if you have more than one.
  2. On the Web Service page, scroll down to find the SSI option and click the Add icon on its right.
  3. Agree with the charges, if any.
  4. In the window that appears, enter your SSI file extension beginning with a dot:
  5. Skip this step if you are using a Windows-based plan.
    At the top of the Web Service page, click the Apply link for the Server configuration to change. The changes will take effect within 15 minutes.

Related Docs:  

Adding Generic Scripts

© 2003 - 2006 Zanyspace | Prices displayed on this page are in U.S Dollars unless stated