Welcome to UltratechHost Forum, Guest. Please take the time to register if you haven't, or click

Tags
Author: UltratechHost - Replies: 0 - Views: 26181
How to fix Apache detected an error in the Rewrite config
How to fix "Apache detected an error in the Rewrite config".

login as ssh and open the directory like :

Code:
cd /usr/local/apache/conf/srm.conf

Code:
chmod -rwr-xr-x srm.conf
Author: UltratechHost - Replies: 0 - Views: 5097
cPanel/WHM shows the error "Invalid license file", why ?
cPanel will show you an invalid license file error if you change your hostname to something that does not resolve to your server's IP address. You should change back the hostname to the original one or use a domain that resolve to your server's IP address by following these instructions:


[code]1. Connect to your server with SSH using the root user
2. Type in the following:hostname server.domain.com
3. Then type: /usr/local/cpanel/cpkeyclt in order to reactivate your cPanel/WHM license.
[
Author: UltratechHost - Replies: 0 - Views: 3744
How to set up error message in cPanel
When the user enters a wrong URL or the user is not authorized to access a specific directory, we can set up a specific message to be displayed.
1) Login to cPanel.
2) Click on “Error Pages”.
3) Click on the error types from the list. (400, 401, 403, 404 or 500).
4) Enter the message and click on save.
Author: UltratechHost - Replies: 0 - Views: 6097
Invalid command 'php_admin_flag' error upon Apache start
If you are getting the following error when you are trying to start Apache:

Code:
Invalid command 'php_admin_flag', perhaps misspelled or defined by a module not included in the server configuration

Then you most likely have a misconfiguraiton in the php configuration file and the options.conf file.

To fix this, run the following as root:

Code:
./build all d
./build rewrite_confs

That should fix your issue.