Frequently Asked Questions Order Hosting Service Now Compare plans Cheap Web Hosting Cheap web hosting at AvaHost.Net

Web Hosting Menu

Web Hosting Home
Compare plans
Order Now
Domain Name
Web Design
Reseller Plans
Terms of Service
Frequently Asked Questions
Technical support
About Us
Contact Us
Links

Hot News
DOMAIN NAME
NOW FREE WITH
WEB HOSTING SERVICE


30 Day Money Back Guarantee! Best Web Hosting.

Technical support for Cpanel Account




Cpanel Flash Tutorials


Creating a POP email account Watch movie
Creating a default email address Watch movie
Creating an email account, Outlook Express Watch movie
Creating an Auto Responder Watch movie
Creating a mail forwarder (redirect) Watch movie
Managing WebMail Watch movie
Creating a Subdomain Watch movie
Addon Domain Maintenance Watch movie
Creating a new FTP account Watch movie
Redirecting a URL Watch movie
Password protecting a directory Watch movie
Using the file manager Watch movie
Backing up your site Watch movie
Changing your account password Watch movie
Creating custom errors pages Watch movie
Installing FrontPage Extensions Watch movie
Providing Hotlink protection Watch movie
Using the Index Manager Watch movie
Creating a MySQL Database Watch movie
Managing databases with PHP Admin Watch movie

FRONTPAGE TUTORIALS
Publishing your web via HTTP Watch movie
Publishing your web in live mode via HTTP Watch movie
Publishing your web via FTP Watch movie
Deleting files off your server Watch movie
Creating forms in FrontPage Watch movie
Password protecting a directory (subweb) Watch movie
Changing your password in FrontPage Watch movie

E-MAIL SETUP TUTORIALS
Creating an email account in Outlook Express Watch movie
Creating an email account in Outlook 2002 Watch movie
Creating an email account in Netscape Communicator Watch movie
Creating an email account in Eudora Watch movie
Creating an email account in Incredimail Watch movie
Creating an email account in Pegasus Watch movie

SITE STUDIO TUTORIALS
Getting started in SiteStudio Watch movie
Creating a Product Page in SiteStudio Watch movie
Creating an FAQ Page in SiteStudio Watch movie
Creating a Download Page in SiteStudio Watch movie
Editing a page in SiteStudio Watch movie
Password protecting a page in SiteStudio Watch movie
Configuring your Site Settings in SiteStudio Watch movie


Getting Started / CGI FAQ
  1. What paths to server resources should I use in my CGI or PERL scripts?
  2. Where do I put my CGI scripts?
  3. How do I use FormMail?
  4. Why am I getting the "Server: Error 500" message?
  5. What file permissions do I need for my CGI script?
  6. How do I run my own CGI programs?
  7. How do I look at my website before the DNS switches?

1. What paths to server resources should I use in my CGI or PERL scripts?

Here are the correct paths to the common server resources that CGI scripts often require:

Date:   /bin/date
Sendmail:   /usr/lib/sendmail
Path to Perl interpreter:   #!/usr/bin/perl
Serverpath:   /home/username/public_html/cgi-bin
Root path:   /home/username/ (puts you in the root of your account)
Domain directory:   /home/username/public_html (puts you in your public_html directory)
Cgi-bin path:   /home/username/public_html/cgi-bin/filename (puts you in your cgi-bin)

2. Where do I put my CGI scripts?

Put your cgi-bin scripts in the public_html subdirectory named "cgi-bin".

3. How do I use FormMail?

The FormMail Clone Email Form Script we offer pre-installed from cPanel is a clone of Matt Wright's FormMail.cgi under a less restrictive license. It should behave almost exactly as FormMail.cgi, but it is completely written from scratch so there might be a few minor visual diffrences. The FormMail CGI script is already configured on our server for your account. From your Control Panel under Scripts Library, click FormMail and there you will find the location of your preconfigured FormMail script. NOTE: Due to spammers using spider software to attempt to hijack FormMail scripts on servers in order to send spam from those servers, many servers (including ours) no longer use the scriptname FormMail.cgi. We provide you with a new name for your script if you decide to use the script.

The 'method' to select for your form is POST. If you would like a handy tutorial on using FormMail, go to http://www.scriptarchive.com/readme/formmail.html.

If are familiar with Perl/CGI and you would like to use the original FormMail script because you prefer to have more control over configuring your variables, please use version FormMail v1.91 or v1.92 to prevent spammers using your script at your bandwidth expense. You can download it at http://www.scriptarchive.com/download.cgi?s=formmail.

4. Why am I getting the "Server: Error 500" message?

500 errors are typically something wrong in the syntax of your script. Most often you should check to make sure you have the path to PERL correct. Currently we are running Perl5.6+ on our servers.

The correct path to PERL is: #!/usr/bin/perl

If you are using FrontPage to create your site, you may need a different solution.

5. What file permissions do I need for my CGI script?

CGIs must be set with executable file permissions, or requests for the script from the web server will result in an Internal Server Error. Scripts that need to be executable should have their permission set with chmod 755. This sets the file's permissions so that the file's owner may read, write, and execute the file; and anyone else can only read and execute it.

6. How do I run my own CGI programs?

Put your CGI programs inside the cgi-bin directory. Make sure you upload them in ASCII mode. Change permissions to 755 for the script (chmod 755 scriptname). Access them via http://www.yourname.com/cgi-bin/scriptname

7. How do I look at my website before the DNS switches?

Type http://ip-address/~username in your web browser replacing username with your actual username and replace ip-address with ip address containted in the welcome email.

 


web hosting. Cheap webhosting.

web hosting web hostingcheap hosting
Copyright (c) AvaHost.net 2002