August 25th, 2007
Hello,
The first thing you should do whenever you get an Internal Server Error is to check the Error Log in your control panel, as this will provide good information for you to resolve the problem. (cPanel » Error Log)
Common Errors and Solutions:
|
Premature End of Script Headers
————–
Solution: CGI/Perl Script missing the Context-Type variable. You should add it to your script. An example would be
:#!/usr/bin/perl
print “Content-type: text/plain\n\n”;
print “testing…\n”;
If this fails, your web host might be limiting the amount of processes you can run at the same time. If this is the case, only a support representative will be able to fix this by killing all the processes running on your account.
|
—-
|
Invalid command ‘php_flag’, perhaps mis-spelled or defined by a module not included in the server configuration
————–
Solution: Your .htaccess file is trying to set php rules which isn’t allowed. You’ll have to move those rules to a new php.ini file (should be placed on /public_html). An example would with register_globals would be:
On .htaccess:
php_value register_globals on
On php.ini:
register_globals=On
So basically just delete the php_flag on your .htaccess file and move it to a php.ini which should be placed on the same directory your .htaccess file is.
|
—-
|
Directory is writeable by others /home/username/public_html/folder
Solution: This generally means that your folder/file permissions are incorrect (it also means that your server is using phpsuexec/cgi api).The typical permissions for a php file are “644″ and for a folder they are “755″.
|
—-
Posted in:
General
Comments: No Comments
August 25th, 2007
Some users may not be able to access cPanel or Webmail due to their firewall.
Some firewalls will block the secure/standard cpanel ports, which are:
- 2082 (Standard cPanel Port)
- 2083 (Secure cPanel Port)
- 2095 (Standard Webmail Port)
- 2096 (Secure Webmail Port)
A quick fix to this is to install cPanelProxy.
This script is made for people who use cPanel. Its purpose is to give access to cPanel (including webmail and WHM) at port 80 by acting like a proxy. (For people behind strict firewalls.)
I know you should now be scratching your head wondering how hard it will be to install it, but you should not. You can install it with just 1 click.
To do so, simply click here and fill input your account details there. It will connect to your account and install it automatically.
After it is installed, you should be able to access cPanel through http://cpanel.yourdomain.com and Webmail through http://webmail.yourdomain.com.
Posted in:
Tutorials, cPanel
Comments: No Comments
|