.
Why am I getting a 403 Forbidden Error?
A 403 Forbidden error occurs when the web server finds itself with insufficient permissions to run your script.
Make sure you have given the script proper permissions. In SSH, this is accomplished with:
chmod 755 scriptname.cgi
If you are uploading via FTP, your FTP client probably has some facility for setting file permissions. You want to make sure that all choices (user, group, and other) have execute permission.
How can I troubleshoot an "Internal Server Error"?
Log in to your account with SSH and test your script. To do this, go into the directory in which your script is located, then execute the script.
simply type "/usr/bin/perl myscript.pl"
What are the basics of installing scripts?
1) Be sure the file permissions are set correctly on the cgi that you are trying to run start with 755.
2) Always upload and download a cgi in ASCII transfer mode.
How do I set permissions with WS_FTP?
Just highlight the file you want to set, and right-click on it. A menu will pop up, then select CHMOD.
Where do I put scripts?
You may place your scripts in any directory you'd like within the "www" directory, but you will stay better organized if you place them in the subdirectory named "cgi-bin".
I am unable To Delete CGI Related Files...
If you have any files or folders that were created by a cgi script running on your account, you will be unable to modify or delete these files because they were created by the user 'nobody' (the webservers itself). To get these files deleted please send in a ticket and include your login/password for the first 2 and last 4 digits of your credit card number for confirmation.
How to I create a MySQL Database?
To create a mysql database, log into your control panel and select the 'MySQL Databases' link. Enter in the name of the database you want to create and submit it.
Once you have created a database you must create a database user and then grant that user access to the database you created. This is all done through the same mysql manager page.
Once you have a mysql database and username you can manage it via your shell account, or via phpMyAdmin which is located in your control panel.
Make sure you are using the correct login/password and database name as listed on the mysql manager as they will not be exactly the same as the name you entered in when you created the database.
How do I create a mySQL User and grant them permission to a certain database?
In Telnet/Shell type: "mysql"
This will load the mysql command line. Next type:
GRANT ALL PRIVILEGES ON [database].* TO [username]@[domain] IDENTIFIED BY '[password]';
(where "[database]" is the database you created earlier, [username] is the mysql username you want, [domain] is the domain you'll be connecting from (usually 'localhost') and [password] is the password you'd like to use. Be sure it's enclosed in 's.
For example:
GRANT ALL PRIVILEGES ON mydatabase.* TO bob@localhost IDENTIFIED BY 'fruitfly';
How do I use formmail?
Formmail is a very easy to use form processor, simply place the following on any page after entering your domain. You can change this code to fit your specific needs.