Install Free 50+ Scripts
Counter doesn't work at all it says is: cannot open /var/cpanel/Counters/counter.dat
What are some common error codes
List of common error codes:
Succesful Client Requests:
203 Non-Authorative Information
204 No Content
205 Reset Content
206 Partial Content
Client Request Redirected:
300 Multiple Choices
301 Moved Permanently
302 Moved Temporarily
303 See Other
304 Not Modified
305 Use Proxy
Client Request Errors:
400 Bad Request
401 Authorization Required
402 Payment Required (not used yet)
404 Not Found
405 Method Not Allowed
406 Not Acceptable (encoding)
407 Proxy Authentication Required
408 Request Timed Out
409 Conflicting Request
411 Content Length Required
412 Precondition Failed
413 Request Entity Too Long
414 Request URI Too Long
415 Unsupported Media Type
500 Internal Server Error
501 Not Implemented
502 Bad Gateway
503 Service Unavailable
504 Gateway Timeout
505 HTTP Version Not Supported
You can use these error codes to specify your own custom error pages through the .htaccess file. For example, supposing you want a custom page for anyone who experiences an internal server error, you would put this in the .htaccess file:
ErrorDocument 500 /errorpages/500error.html
This is of course assuming the file you want displayed is 500error.html located in the /errorpages directory.
How do I password protect a directory
You can password protect directories within your site from unauthorized users by using "Web Protect". This allows you to restrict material to only authorized users or store sensitive material online.
To password protect a directory:
Click on the Web Protect link under the "Site Management" header in Cpanel.
Navigate to the directory that you want to protect. Select a folder by clicking on the folder name link, or open a folder by clicking on the folder icon.
Click on the tick box next to the LOCK icon. (make sure you do this, this is something most people forget)
Enter the name that you want to appear in the Protected Resource Name field.
Click on the SAVE button.
Generally, you now need to add at least one authorized user to enable access to the directory. Refer to Adding an authorized user for more information.
When you check to make sure the password protect is working, please make sure you aren't just suffering from browser caching issues.
Is there a secure https login for Cpanel
There are secure https login for cpanel available:
You will get a warning message, but this is normal. The transferred data is still encrypted with 128 bit encryption in spite of the warning.