Is there any unacceptable or banned Scripts & Programs?
We have banned a few scripts and programs from our shared-server environment to help sustain the highest level of service possible.
The Banned Scripts are listed on our Acceptable Use Policy.
Secure your script the easy way...
The easiest way to ensure that spambot don’t find your mail script is to rename them...If you renamed a formmail.php to agdWurenfGG245GGSH97.php we can assure that you could run the most insanely insecure script on the net and never cause a problem. Updating script can be a chore but if you rename your formmail to something obscure you can give yourself some breathing space. Script names to avoid are anything containing “mail”, “send”, “form”, “contact”, etc. Always download and install the latest version of your scripts as they contain the latest security patches.
My error documents are not loading. What's wrong?
Due to a little bug in Plesk, if you want to modify, create and use your own error docs, your error documents need to be at least 0.51K in size.
Then be sure to CHMOD the file to 644.
My script is not working, can you help me with it?
Our support does not cover any script debugging. We consider this a function of web design and we do not offer any in-house web development or consulting services. We will, however assist you as much as possible. Please open a Ticket and we will take a look.
Here are a few things to try when you are troubleshooting a script:
1) First of all, thoroughly read through the instructions that came with the script and also check the Website where the script was downloaded for troubleshooting info and user forums.
2) Make sure that you have uploaded your CGI script to your cgi-bin which is (above) one level up from your public /httpdocs directory.
3) Check to see if the script was uploaded to the server in the proper format (usually ASCII not binary).
4) Make sure that there are not any DOS/Windows carriage returns (ie. ^M) at the end of each line in the script. This is usually caused by a text editor or FTP program that is not properly uploading your script in a Unix/Linux format. If this is happening, try changing your code line break settings or upload settings to Unix/Linux.
Here's how this is done in Dreamweaver: From the menu, goto Edit > Preferences > Code Format, then change Line Breaks to "LF (Unix)".
5) Check cgi script to make sure that magic comment specifies where Perl is located: #!/usr/bin/perl
6) Verify that all the paths are correct, including your public directory path. Do not use the "www" part of your domain in your public directory path. See our server paths section for more info.
7) Check to see if all the file permissions are set correctly. Permissions can be set using an FTP program that allows permissions to be set on transfer. Typically scripts are set to be 755, user: read, write, execute; group: read, execute; other: read, execute (-rwxr-xr-x), but you should always check your script instructions or README to be sure.
PLEASE NOTE: For security purposes, within the cgi-bin, script permissions cannot be set higher than 755, or user: read, write, execute; group: read, execute; other: read, execute (-rwxr-xr-x).
8) If you have checked all the above and are still receiving an "Internal Server Error" when trying to execute the script, check the domain's error_log file within logs (In Plesk). Most likely you will see a "Premature end of script headers" error which usually means that the file has been corrupted in some way. This can occur when the script is uploaded or when the script is edited and saved in certain text editors. Usually the file is corrupted with the (line feed) hidden character which is commonly mistaken with the (carriage return).
9) Since installing a CGI script is extremely difficult for new webmasters, you may want to consider asking a friend with CGI (Perl, Python, etc.) experience to walk you through the process or hire a Webmaster for this part of your site.
10) Here are a few good online articles on installing CGI scripts that might help:
Setting Up A Form Powered By CGI http://www.webmasterbase.com/article/348
How to install a basic Perl script on a Web server
How To Install A Script
CGI Scripts for Fun and Profit http://hotwired.lycos.com/webmonkey/99/26/index4a.html?tw=programming
The Common Gateway Interface (NSCA)
Finally, if all else fails, you may want to consider using a PHP script.
None of my ASP scripts work, I get an internal server error! What is Apache_ASP exaclty?
Apache_ASP provides an Active Server Pages port to the Apache Web Server with Perl scripting only, and enables developing of dynamic Web applications with session management and embedded Perl code. There are also many powerful extensions, including XML taglibs, XSLT rendering, and new events not originally part of the ASP API.
Note that Apache_ASP is different than Microsoft's ASP and that Apache_ASP is
based on the Perl scripting language, and Microsoft ASP is based on VBScript.
For more information on Apache_ASP, please visit http://www.apache-asp.org/
What information and server paths do I need to run scripts on the server?
CGI scripts must be uploaded in ASCII MODE and run from the /cgi-bin directory, which is outside the httpdocs directory, and file permission for the script (file) must be CHMOD to 750 or 755 (please refer to your script’s documentation). CGI scripts need to have a .cgi or .pl extension. (PHP scripts need to have a .php extension and can be uploaded and ran anywhere in your /httpdocs or /httpsdocs directory.)
For security purposes, we use Apache's suEXEC for the execution of CGI scripts.
cgi-bin absolute path
cgi-bin relative path
public directory absolute path
path to Perl
path to Python 1.5
path to Python 2.2
path to Tcl
path to sendmail
path to the date program
path to netpbm
path tp PHP
How do I use and configure MySQL database to be use with my script?
Step 1. Create a Database in Plesk and assign it a username and a password.
Step 2. Configure your script to connect to your database...
DB Host: localhost
DB user: username for the database
DB password: password for the database
DB name: the database name you created in Plesk