![ModSecurity](https://serverok.in/wp-content/uploads/2023/05/modsecurity.webp)
cPanel Request body no files data length is larger than the configured limit
On a WordPress website hosted on Cpanel server, when editing a page, i get 404 error. On checking ModSecurity logs,
![Apache web server](https://serverok.in/wp-content/uploads/2021/11/apache-httpd.webp)
How to enable Apache SSL module in Ubuntu
To enable the Apache SSL module in Ubuntu, follow these steps Update apt package cache apt update Install Apache SSL
![Apache web server](https://serverok.in/wp-content/uploads/2021/11/apache-httpd.webp)
How to configure Security Headers in Apache
Enable HSTS Header set Strict-Transport-Security “max-age=31536000; includeSubDomains; preload” Enable X-Frame-Options Header always append X-Frame-Options SAMEORIGIN Enable X-XSS-Protection Header set X-XSS-Protection
![Apache web server](https://serverok.in/wp-content/uploads/2021/11/apache-httpd.webp)
Apache Website not loading – DDoS
On a Fresh Cpanel Server, after pointing the domain name to the server, the website won’t load. Some times site
![Apache web server](https://serverok.in/wp-content/uploads/2021/11/apache-httpd.webp)
How to Redirect HTTP to HTTPS using htaccess
To redirect a website from HTTP to HTTPS, you can use the following code in .htaccess file RewriteEngine On RewriteCond
![Apache web server](https://serverok.in/wp-content/uploads/2021/11/apache-httpd.webp)
How to block Bad Bots (User Agents) using .htaccess
Some bots can cause a high load on servers as they index too many pages or get into some never-ending
![Apache web server](https://serverok.in/wp-content/uploads/2021/11/apache-httpd.webp)
Apache 414 Request-URI Too Long
On an Apache server, when accessing a long URL, got 414 Request-URI Too Long The error is because the URL
![Apache web server](https://serverok.in/wp-content/uploads/2021/11/apache-httpd.webp)
Change Apache Server MPM in RHEL 8
Apache on RHEL 8 uses events MPM. You can use apachectl -V command to see the current MPM used by
![Apache web server](https://serverok.in/wp-content/uploads/2021/11/apache-httpd.webp)
How to deny access to a file using .htaccess?
You may need to deny access to specific files on your web server for security reasons. On the Apache web
![Apache web server](https://serverok.in/wp-content/uploads/2021/11/apache-httpd.webp)
How to install Apache from source code
To install the latest version of Apache Web Server from source code, go to the apache website, download the latest
![](https://serverok.in/wp-content/uploads/2021/12/php.webp)
Install PHP APC Cache on CentOS 7 using yum
To install APC cache on CentOS 7, run yum install php-pecl-apcu After that, you need to restart the Apache webserver.
![Apache web server](https://serverok.in/wp-content/uploads/2021/11/apache-httpd.webp)
Apache 413 Request Entity Too Large
On a CentOS server, when uploading a 100 MB video file in WordPress media manager, I got the following error