|
 |
CGI-Scripts and Programming Languages
- 1. Do you include preinstalled cgi-scripts with my account?
2. Can I compile programs written in C and C++?
3. Can I install my own CGI Scripts?
4. What type of Java support do you offer?
- 5. What programming languages are available?
6. Formmail Instructions
7. Do you offer PGP?
8. What is the path to perl and sendmail?
9. How do I add Java to my server?
10. How can I run CGIs from any directory?
- 11. Can I run CGI scripts from any directory?
- 12. How do I install Mailreader?
- 13. Freeware CGI-script basic guide.
14. Where do I upload my CGI-Scripts?
-
- 1. Do you include preinstalled cgi-scripts with my account? - Top
Yes, currently we provide 17 pre-installed cgi-scripts.
Pre-Installed Cgi Scripts
- That's an Order shop cart
- Visitor Book pro
- Multi-user Forums
- Formmail
- Cgiemail
- Quiz Master
- Postcards
- Vote/survey
- Whois
- Click and go
- Simple site search
- SFE page search
- Power Page Search
- Free for all links
- Random text display
- Graphical counter
- Text based counter
- Updated: March 26, 2001
-
- 2. Can I compile programs written in C and C++? - Top
Yes, we offer the standard GCC compiler.
The C and C++ compilers are integrated. Both process input files through one or more of four stages: preprocessing, compilation, assembly, and linking. Source filename suffixes identify the source language, but which name you use for the compiler governs default assumptions.
- Updated: March 29, 2000
-
- 3. Can I install my own CGI Scripts? - Top
Yes. Each account comes fully equipped with its own pre-configured CGI-Bin. Customers are free to use any of the CGI scripts included free with their account or any others they may wish to add to their account. We only monitor for poorly written CGI Scripts, as use of these scripts on high traffic sites may affect the normal functioning of our servers and in turn affect the performance of other web sites hosted on that server.
- Updated: March 29, 2000
-
- 4. What type of Java support do you offer? - Top
Currently Java jdk 1.1.5 is installed on all our servers. We support Java applets and not Java servlets. - Updated: June 20, 2001
-
- 5. What programming languages are available? - Top
The following full programming languages are available:
- Perl5
- Python
- TCL
- Expect
- C and C++
We also provide the following 3rd party scripting engines:
- - Updated: June 20, 2001
-
-
- 6. Formmail Instructions - Top
This script is one from Matt's Script Archive which we have installed and preconfigured for your domain. FormMail is a generic www form to e-mail gateway, which will parse the results of any form and send them to the specified user. This script has many formatting and functional options, most of which can be specified through the form. This means you dont need any programming knowledge, nor do you need multiple scripts for multiple forms. This also makes FormMail the perfect system wide solution for allowing users form-based user feedback capabilities without the risks of allowing freedom of CGI access.
There is only one form field that you must have in your form, for FormMail to work correctly. This is the recipient field. Other hidden configuration fields can also be used to enhance the operation of FormMail on your site.
The action of your form needs to point towards this script, and the method must be POST in capital letters. Here's an example of the form fields to put in your form:
-
-
- 7. Do you offer PGP? - Top
Yes. PGP which runs from commandline is offered as a unsupported service. Logged in as root user run client_tools, select menu 4 for script installs than PGP commandline as the option.
- Updated: August 3, 2001
-
- 8. What is the path to perl and sendmail? - Top
perl /usr/bin/perl
sendmail /usr/sbin/sendmail
- Updated: May 16, 2001
-
- 9. How do I add Java to my server? - Top
We can add JDK 1.1.8 to Your server environment. Just email sales to make the request. Please keep in mind before making the request that this will require 41 megs of space.
- Updated: March 15, 2001
-
- 10. How can I run CGIs from any directory? - Top
To enable CGI scripts for all your web directories, you need to edit the configuration file for Apache:
1. Enable the Handler type for ".cgi" files:
In /etc/httpd/conf/httpd.conf make sure the line "AddHandler cgi-script .cgi" is uncommented, if it isn't already.
2. Enable ExecCGI:
In httpd.conf, make sure your main web directory has ExecCGI enabled. All the sub-directories under it will inherit the properties of the parent directories unless you specifically disallow it (via .htaccess files, for example).
So you want the ... entry for /home/httpd/html (or wherever your DocumentRoot is) to include "ExecCGI" in the "Options" list.
For example:
Options Indexes FollowSymLinks ExecCGI
(other directives...)
You may also opt to use "Options All", which enables all the available options. You can refer to the Apache docs
http://www.apache.org/docs/mod/core.html#options for more details on the Options directive.
3. Restart your Apache web server, to apply the changes.
- Updated: March 15, 2001
-
- 11. Can I run CGI scripts from any directory? - Top
No. By default the server is set-up so CGI scripts will only run from the cgi-bin directory. You can however make changes to your Apache config to activate this on all domains. Since there are security issues involved, we suggest you use a .htaccess file in the main HTML directory on only the domains that require this, using the following entries:
AddType application/x-httpd-cgi .cgi
Options ExecCGI
- Updated: March 15, 2001
-
- 12. How do I install Mailreader? - Top
Mailreader Setup
- Log into the system as root user.
- Type client_tools [hit return]
- Select #4 for mailreader
- Enter domain to add mailreader to.
- Updated: April 25, 2001
-
- 13. Freeware CGI-script basic guide. - Top
Script Installs
The Web Control panel allows you to install several scripts, below find browser paths to the Authors instructions that our installed for you with the installation. The scripts will be active within 10 minutes of submission.
- *VBPRO Guestbook http://yourdomain-here.com/vbpro/docs
- Forums http://yourdomain-here.com/forums/cgi-s/
- Thats an Order http://yourdomain-here.com/lto.htm
- Free For all Links - (Freeware)
http://yourdomain-here.com/links/manual.htm
- Whois - (Freeware) http://yourdomain-here.com/cgi-bin/whois.cgi
- Graphic Counter - (freeware) http://yourdomain-here.com/counter/
- Postcards - (freeware) http://yourdomain-here.com/cards
- pollit - (freeware) add polling to your site.
http://yourdomain-here.com/pollit
- Quiz Master - (freeware) http://yourdomain-here.com/quiz
- SFE Power search-(freeware) http://yourdomain-here.com/search/instruct.htm
- PhpMyAdmin -(freeware) http://yourdomainname-here.com/phpmyadmin. Requires the file /phpmyadmin/config.inc.php3 be configured for your DB.
Docs located at http://yourdomainname-here.com/phpmyadmin/documentation.html
* VBPRo by default has the email options disabled at program level.
Note:
All freeware scripts are made available in working order when installed from webcontrol, we cannot offer help in customizing or trouble shooting scripts you choose to change. If you should decide to try to change default settings and than the script becomes non functional just submit a reinstall from webcontrol to set it back as new.
- Updated: April 27, 2001
-
- 14. Where do I upload my CGI-Scripts? - Top
You should upload your CGI-Scripts to the CGI-Bin directory.
CGI-Bin: /home/userid/webscripts
Please note: Your userid is the username you chose when you signed up for your account.
- Updated: March 15, 2001
|
|
 |
|

|
|