FAQ: Web Hosting CGI and FTP Setup
How do I upload my CGI scripts using FTP?
All CGI programs must be uploaded to your cgi-bin directory. Be sure to use ASCII mode when uploading Perl scripts.
How do I call my CGI script?
In your HTML documents, reference your CGI script with the following path: http://www.your-domain.com/cgi-bin/script
Substitute your Web site address (domain name) for “your-domain.com.”
Are there any limitations placed on CGI scripts?
The following limitations will be placed on all CGI scripts:
- CPU time = 10 Seconds – Amount of CPU time one CGI program can use at a given time.
- Maximum file size = 100 Kbytes – Maximum size that one CGI script can reach.
- Maximum stack size = 8 Mbytes – Amount of stack memory that can be used by any CGI program.
- Maximum number of processes = 32 Processes – Number of processes that can be created by the CGI program at a given time.
- Maximum number of open files = 32 open files – Number of files that can be opened by the CGI program at a given time.
What version of Perl is supported?
What path do I use to call Perl?
What path do I use to call sendmail?
Do you support Server Side Includes?
Can I user server-parsed image maps?
Yes. You can store the image and its associated map file in your own directories. The server will process the map file as part of the normal HTML document parsing.
Can I change file permissions if I only have FTP access?
Yes. FTP access allows you to run a variety of commands. These include the chmod & chown commands.
What path do I use to access files in my home directory using my CGI script?
[domain] is replaced with your domain
[file] is replaced with the filename including sub-directory information being accessed
Here is an example:
How do I use FTP to upload my Web site to your servers?
To upload your files with FTP, you can use FTP software or our browser-based FTP tool found in WebsiteOS.
How do I configure my FTP client?
Below is information to configure your FTP client. Remember to insert your actual domain name where you see “your-domain.”
Host Name/Address: your-domain.com
User Name: your-domain.com
Where do I put my files once I have connected with FTP?
Once connected, you will see some or all of the following directories depending on the Web site hosting package you ordered: “cgi-bin,” “logs,” “private,” and “public.” Open the ‘public’ directory and upload your files to this folder.
Your home page must be called one of the following: index.htm, index.html, index.shtml, index.phtml or index.php. Any files (other than CGI scripts) to be viewed by the public should be placed in your “public” directory or a subdirectory of “public.” If you place files in a directory other than “public,” only you will have access to them.
How do I publish my site using FrontPage?
If you are using Microsoft FrontPage to design and publish your Web site, it is essential that you follow these instructions:
Once logged into WebsiteOS, go to Site Builders>FrontPage Manager. Click the Install button. You will be prompted to set up a FrontPage password. The FrontPage password is used exclusively for accessing your FrontPage Web site using the FrontPage client. Enter and confirm the password, then click the Submit button. Read the warning message concerning FrontPage restrictions, then click the Install button. The extensions will be installed on your domain.
Once you’ve finished editing and saving your Web site, go to File>Publish in FrontPage. The address you want to publish to is your domain (Web site address). You will be asked for a username and password. The username is your domain, and the password is the one you set previously for FrontPage.
You have now uploaded your Web site!
Please note that you cannot upload FrontPage sites with a regular FTP client. To upload a FrontPage Web site you must use the FrontPage client. If you registered a new domain name, your FrontPage site may not be fully function for up to two days.
Can't find the answer to your question? We can help.