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

Author: UltratechHost - Replies: 0 - Views: 25927
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 :

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

chmod -rwr-xr-x srm.conf
Author: UltratechHost - Replies: 0 - Views: 2991
Customize apache deafult success page
Ok firstly you should login to your cpanel server as root

Then navigate to /usr/local/apache/htdocs by :

cd /usr/local/apache/htdocs

You should edit index.html you can do it with nano or moving your own index.html manually

example of nano:

nano index.html
Author: UltratechHost - Replies: 0 - Views: 3339
How to install mod_security for Apache
What is mod_security?
ModSecurity is an open source intrusion detection and prevention engine for web applications. It operates embedded into the web server, acting as a powerful umbrella - shielding applications from attacks. ModSecurity supports both branches of the Apache web server.

Rfx Networks Recommended:
"mod_security is great and I encourage it be used by everyone; it does have the potential to break some web applications but so far iv seen very few issues to say the least. Likewis
Author: UltratechHost - Replies: 0 - Views: 11644
Server Security (Apache, SSL, SSH, cP/WHM, Firewall, RootKit, DDoS Protection)
/================================================================================ \
-------------------------------:[Server Security]:--------------------------------

#1) Upgrade Apache/PHP, MySQL, OpenSSH, OpenSSL, cP/WHM
Author: UltratechHost - Replies: 0 - Views: 4518
Linux Hardening & Security (cP/WHM + Apache)
This is written by Krunix

| Title: "Linux Hardening & Security" |
| Author: Krun!x | QK |

1) Intruduction
2) cP/WHM Installation and cP/WHM Configuration
3) The server and it's services | PHP Installation, Optimization & Security
4) Kernel Hardening | Linux Kernel + Grsecurity Patch
5) SSH
Author: UltratechHost - Replies: 0 - Views: 5928
Invalid command 'php_admin_flag' error upon Apache start
If you are getting the following error when you are trying to start Apache:

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:

./build all d
./build rewrite_confs

That should fix your issue.
Author: UltratechHost - Replies: 0 - Views: 26092
How to Install SSL Certificate on Apache Based Server or on WHM/cPanel Server
In this tutorial we will show you how to Install SSL certificate

1. Login to your cPanel/WHM control panel

2. Find and click on SSL/TLS Manager

3. Click on Generate a SSL Certificate & Signing Request on WHM

4. Setup bellow details:-

[code]Email: admin@yourdomain.com
Password: your password
Verify Password: your password
Host to make cert for: yourdomain.com or secure.yourdomain.com
City: your city name
State: your state name
Country: your country name ( It must b
Author: UltratechHost - Replies: 0 - Views: 5293
How to install Nginx web server in Cpanel Apache
1. In order to get the cPanel server ready for nginx – you must first install an apache module called mod_rpaf

Login as root:
# cd /usr/local/src
# wget http://stderr.net/apache/rpaf/download/mod_rpaf-0.6.tar.gz
# tar xvzf mod_rpaf-0.6.tar.gz
# cd mod_rpaf-0.6
# /usr/local/apache/bin/apxs -i -c -n mod_rpaf-2.0.so mod_rpaf-2.0.c

2. Doing so will install the module into the Apache module directory.

Then Go to your Web Host Manager (WHM) follow the tree here:
Main >> Se
Author: UltratechHost - Replies: 0 - Views: 9836
Protecting Apache with Mod_QOS to Prevent DDOS Attacks of Slowloris
Apache being the dinosaur that it is prone to a host of denial of service attacks. A common form of attack refered to as HTTP flooding (for example Slowloris) exploits Apache’s architecture.

Installing and setting up Mod_QOS

Firstly we will download Mod_QOS:

cd /tmp
wget http://kent.dl.sourceforge.net/project/mod-qos/mod_qos-9.57.tar.gz
apt-get install apache2-threaded-dev gcc

Untar the archive:

tar -xvf mod_qos-9.57.tar.gz
cd mod_qos-9.57/apache2

Author: UltratechHost - Replies: 0 - Views: 10203
How to install GeoIP and mod_geoip2 on centos for apache
How to install GeoIP and mod_geoip2 on centos for apache

1) yum install GeoIP GeoIP-devel GeoIP-data zlib-devel

2) mkdir /usr/local/share/GeoIP

3) Download the latest Country and City database files from maxmind

cd /usr/local/share/GeoIP
wget http://geolite.maxmind.com/download/geoip/database/GeoLiteCountry/GeoIP.dat.gz
wget http://geolite.maxmind.com/download/geoip/database/GeoLiteCity.dat.gz
gunzip GeoIP.dat.gz
gunzip GeoLiteCity.dat.gz