SSL certificate info on Chrome you get a message that we are using an obsolete cipher suite TLS 1.0. We need to upgrade to 1.1 or 1.2. How can this be done? # nano /etc/httpd/conf.d/ssl.conf Old # List the enable…
Category: Apache
Find and disable specific ModSecurity rules
ModSecurity uses can help block potential attack attempts from malicious users, but sometimes it can also block legitimate requests. Note: Using SecRuleEngine Off in your modsecurity configuration, you won’t want to put that in your ModSecurity configuration file. As that…
warn] module security2_module is already loaded, skipping
It simply means that the security2 module is being listed twice in your httpd configurations. edited /etc/httpd/conf/httpd.conf and commented out the occurrence of this module so you should no longer see this notification.
Enable UserDir on CentOS vhosts
Edit the /etc/httpd/conf/httpd.conf file. Change the ‘UserDir disabled’ line to ‘UserDir enabled ’. Uncomment the ‘UserDir public_html’ line. Also uncomment the whole ‘’ section until the ‘’. Apply the proper permissions: # chmod 711 ~ # chmod 755 -R ~/public_html/…
Find httpd confi file for an IP
Find apache config files for an IP httpd -S
Compressing web pages with mod_deflate
The mod_deflate module allows the Apache2 web service to compress files and deliver them to clients (browsers) that can handle them. With mod_deflate you can compress HTML, text or XML files by up to 70% of their original sizes. Thus,…
Network Error (tcp_error) A communication error occurred: “Operation timed out
Network Error (tcp_error) A communication error occurred: “Operation timed out”The Web Server may be down, too busy, or experiencing other problems preventing it from responding to requests. You may wish to try again at a later time.
Apache Error
Options ExecCGI FollowSymLinks IncludesNOEXEC Indexes Limit SymLinksIfOwnerMatch AllowOverride All results in an error – Syntax error on line 71 of /usr/local/apache/conf/httpd.conf Based on my understanding, it first disables FollowSymLinks and enables SymLinksIfOwnerMatch at the httpd.conf level and it applies to…
Apache Virtual Host Containers in Separate Files
1. Introduction With the size of the Apache configuration file what it is, it can be easier to find and change a virtual host container (configurations) if the settings are in separate files. This isn’t strictly recommended by the upstream…
Apache fails to start with syntax errors on plesk
Apache fails to restart on plesk server on CentOS 6.5 # service httpd restart Stopping httpd: [FAILED] Starting httpd: Syntax error on line 55 of /etc/httpd/conf/plesk.conf.d/ip_defalt/domain.com.conf: SSLCertificateFile: file ‘/usr/local/psa/var/certificates/cert-6xg952’ does notexist or is empty Solution: # /usr/local/psa/admin/sbin/httpdmng –reconfigure-all # service…