|
»»»»
HOME
»»»
FAQ
»»
CGI & Perl
Q. Where do I put all my CGI scripts?
You may put all your CGI scripts (.cgi and .pl) that you need to execute at cgi-bin directory.
The directory permissions are already set to 755, so you may simply upload your scripts and
assign execute permissions to your files.
Q. How do I set the permissions of my CGI scripts?
In order to run .cgi scripts, you must assign the correct permission to each script. Generally,
the correct permissions setting for a CGI file is 755. You may use your FTP client or Cpanel
to setup the permission to each files. For Cpanel users, please login your administrator control
panel, then go to "File Manager" and navigate the directory tree to find your CGI file. Click on
the particular file and enter the permission for the scripts. For FTP users, there is a menu
option should be either "properties" or "change file attributes". After you select the particular
files, then select one of two options, you may assign the proper execute permissions to your scripts.
Q. What is the path to sendmail?
/usr/sbin/sendmail
Q. What is the path to perl?
/usr/bin/perl
Q. What is the path web directory?
/home/YOURUSERNAME/public_html
Q. Why do I get 500 Internal Server Error?
The error is common with CGI software. If you experience "500 Internal Server Error" error's
problematicly with your CGI software, it can mean many things, such as configuration mistakes:
- Internel error in the actual script, malconfiguration and/or syntax error.
- Or, our server may not allow or be configured for the requirments of your CGI software.
- CGI permissions not set to 755.
- Path errors in software configuration.
- And, invalid FTP upload modes.
Q. What are the pre-installed scripts in my directory?
NO. However, we provide several cgi scripts in your CPanel, such as Bulletin Board, Advanced GuestBook,
Random HTML, Guestbook, CGIWrap, Counter, Clock, Countdown, FormMail, CGI Email, Entropy Banner, and Entropy
Search. It will automatically generate HTML coding for you.
Q. Why do I get "Forbidden" message with my CGI scripts?
All CGI files must have executable permissions enabled. You did not setup the permission for your
files.
Q. Will you help customers install CGI scripts?
Yes. We may help you install your CGI scripts. The charge will depend on the complexity of the
installation.
Q. Where can I find more information?
You may find more information our complete in our CPanel Solution Manual.
|