Check that file you created is .htaccess, NOT .htaccess.txt
Check that the file is plain text, NOT rich text.
If your server already has a .htaccess, create a backup and add rules above.
2. Use FTP to upload .htaccess
FFFTP is available in Windows XP, ME, 98 as FTP Client. For Linux or Mac OSX user, use Filezilla or any FTP client you like. Click the FFFTP icon and connect to your server.
3. Find httpdocs
Click httpdocs for normal http protocol data
4. Create folder for CGI in httpdocs
In your httpdocs, create folder with right click > create new folder.
5. Give a name for your CGI folder
You can use any name you like but we suggest you name it something easy to understand like [ cgi ]. Do not use cgi-bin as the name.
6. Move to the folder created
Double click the folder you just created.
7. Uploading CGI scripts
Drag and drop your CGI scripts into your FTP client window.
8. Setting Permission 1
Right click on files to set the right permission.
9. Setting Permission 2
Double check the files and folders permission. Consult the developer for the right settings.
10. Uploading .htaccess
Change upload mode to ASCII mode and upload it to your server. If you use different name, change it to .htaccess with right click > change file name.
11. Check your CGI
Check your scripts from web browser. If you find errors, consult the developer or use our premium support to fix it.
Common Problems Found in CGI
Download prompt for CGI files or viewing it as text
There's something wrong with your .htaccess. Try to reupload it in ASCII mode.
Check that the filename is .htaccess
Check the file content.
Reupload in ASCII mode.
Check that the file is created as text, not in binary.
Check the file path
Double check your scripts path. When you use apache's mode_rewrite the path will be changed as in your settings.
Error Internal Server Error(500)
Possible reasons:
Wrong perl path. Check your scripts for perl's path. We use「#!/usr/bin/perl」
Coding error. Check your scripts for coding error.
File Permission and group error. Check the file permission and file's owner.
Uploaded in binary mode. Reupload your scripts in text mode.
Login to your CP. Go to System > Domain Name > Log Manager to view details on your errors to give you hints how to fix it.
Check our users forum or use our premium support to fix your problems.