Tuesday, 12 December 2017

CGI hosting

Most client-side scripts are written in Java which is still one of the best web programming languages around. Some functions of a website must be completed via server-side scripting, however, and the most commonly used languages for server-side scripting are PHP, PERL, and CGI.

PHP and PERL are newer languages and are gaining a lot of popularity, but there are still plenty of features that can be scripted in the granddaddy of web scripting languages, CGI.

No online sales site would be complete without a functioning shopping cart, and most of the best ones written in the CGI script. CGI web hosting is great for shopping cart scripts because it interfaces well with most databases, including the popular MYSQL and MS Access databases, it can be utilized on Windows, UNIX, LINUX, and MACOS servers with equal ease, and easily configured for sales tax and shipping cost calculations.

Many websites require some registration and entry of a password for the user to access the site's features.

The automated registration process and username or password issuance written with CGI scripts, and many of them have been.

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. Select Domain info in the Domain Settings menu.
2. Click the Edit icon in the Web Service field.
3. 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.
4. On the Web Service page, scroll down to find the CGI option and click the Add icon on its right.
5. Enter an extension beginning with a dot and select the handler from the list:

To add PHP support, do the following:
1. Select Domain info in the Domain Settings menu.
2. Click the Edit icon in the Web Service field.
3. On the Web Service page, scroll down to find the PHP option and turn it on.
4. Agree with the charges.
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.
6. On the Web Service page, click the Add icon that has appeared next to the PHP option.
7. 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.
8. 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.
U can also add ASP
To add support for ASP (Active Server Pages) in a Windows-based account, do the following:
1. Select Domain info in the Domain Settings menu.
2. Click the Edit icon in the Web Service field.
3. On the Web Service page, scroll down to find the ASP option and turn it on.