• Reliable Linux Web Servers
  • Very Fast Redundant Network
  • 24/7 Technical Support Staff
  • CPanel / Fantastico De Luxe
  • Affordable Pricing Structure
  • No Setup Fees!
  • FAQ : Tutorials : Billing Login : Site Map
    Testimonials
    Referral Program
    Terms and Conditions
    Privacy Policy
    Site Map
    Monthly Specials
    CGI & PHP Scripting Questions
    Home < FAQ Pages < CGI & PHP Scripting

    Do you provide free scripts??
    Yes, they are located in the Fantastico section of your control panel.

    How do I run my own CGI programs?
    Put your CGI programs in the cgi-bin directory. Make sure you upload them in ASCII mode. Change permissions to 755 for the script (chmod 755 script-name) Access them via http://www.yourname.com/cgi-bin/script-name

    I'm getting 'Internal server error' running my Perl script. What's wrong?
    1.When executed, you must print an HTTP header followed by a blank line. The header must contain either a Content-type field or a Location field. eg. print "Content-type: text/htmlnn"; 2.You have incorrectly set the path to Perl in your script. 3.You have used invalid Perl arguments.

    I'm getting 'file not found' running my script. What's wrong?
    Check the following: 1. script is located in your cgi-bin directory. 2. page that calls the script has the path properly specified 3. script has world read & executable permission.

    How do I use formmail?
    Get the latest version here.
    View the README file here.
    Please read the FormMail FAQ page here.

    My FormMail script disappeared!
    To protect our servers from Spam Attaches, our servers will delete any outdated email script they may find. Please go here for the latest version.

    What permissions will I need to set my CGI scripts to in order to have them run properly?
    CGI scripts only need to be chmod 755 to run. Additionally, scripts should NOT be put at 777 on any server. This is a huge security risk and opens your account up to all sorts of possible abuse. If you have any scripts chmoded to 777, then please change them to 755 immediately.

    How do I change the default root document?
    You can use the .htaccess file to specify what file should be loaded as your default page whenever a directory or URL request comes in that does not specify a specific page. Eg, You might have yourdomain.com/index7.html and you want this to be your root document Simply add: DirectoryIndex filename.html In a .htaccess file and upload it to your site via FTP. This would cause filename.html to be treated as your default page, or default directory page. You can also append other filenames to it.

    How do I block visitors from my site?
    In your htaccess file, add the following code--changing the IPs to suit your needs--each command on one line each: order allow,deny deny from 123.45.6.7 deny from 012.34.5. allow from all You can deny access based upon IP address or an IP block. The above blocks access to the site from 123.45.6.7, and from any sub domain under the IP block 012.34.5. (012.34.5.1, 012.34.5.2, 012.34.5.3, etc.) You can also set an option for deny from all, which would of course deny everyone. You can also allow or deny by domain name rather than IP address (allow from .friendsite.com works, etc.)

    What does the 'premature end of script headers' error mean?
    99% of the time, this is caused by improper permission settings. Make sure you have the proper permissions set on your script (CHMOD 755). You should also make sure that you are using a text-only editor such as notepad or UltraEdit to edit your scripts.

    What is the path to Perl?
    #!/usr/bin/perl





    FAQ : Tutorials : Billing : Testimonials : Referrals : Order Online

    Copyright © 1998 - 2008, Visionhead Ltd
    Terms and Conditions / Privacy Policy
    Web Site Designed by Systemabuse.com




    Home
    Web Hosting
    Domains
    Resellers
    Services
    Company
    Testimonials
    Contact
    Testimonials
    Friday May 09th, 2008
    Photography
    Web Hosting Web Hosting
    Alabama Web Hosting
    Alabama Web Hosting
    Alaska Web Hosting
    American Web Hosting
    Arizona Web Hosting
    Arkansas Web Hosting
    California Web Hosting
    Colorado Web Hosting
    Connecticut Web Hosting
    Delaware Web Hosting
    Florida Web Hosting
    Georgia Web Hosting
    Hawaii Web Hosting
    Idaho Web Hosting
    Illinois Web Hosting
    Indiana Web Hosting
    Iowa Web Hosting
    Kansas Web Hosting
    Kentucky Web Hosting
    Louisiana Web Hosting
    Maine Web Hosting
    Maryland Web Hosting
    Massachusetts Web Hosting
    Michigan Web Hosting
    Minnesota Web Hosting
    Mississippi Web Hosting
    Missouri Web Hosting
    Montana Web Hosting
    Nebraska Web Hosting
    Nevada Web Hosting
    New Hampshire Web Hosting
    New Jersey Web Hosting
    New Mexico Web Hosting
    New York Web Hosting
    North Carolina Web Hosting
    North Dakota Web Hosting
    Ohio Web Hosting
    Oklahoma Web Hosting
    Oregon Web Hosting
    Pennsylvania Web Hosting
    Rhode Island Web Hosting
    South Carolina Web Hosting
    South Dakota Web Hosting
    Tennessee Web Hosting
    Texas Web Hosting
    united states Web Hosting
    US Web Hosting
    Utah Web Hosting
    Vermont Web Hosting
    Virginia Web Hosting
    Washington Web Hosting
    West Virginia Web Hosting
    Wisconsin Web Hosting
    Wyoming Web Hosting