Category : Apache

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 completely turns off ModSecurity. The SecRuleRemoveById setting is used instead to only disable one specific ..

Read more

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/ # # UserDir is disabled by default since it can confirm the presence # of ..

Read more

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, saving you server traffic and speeding up page loads. Compressing files will increase load on ..

Read more

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 all the files and subdirectories present inside, /home. The next directive, AllowOverride. By writing “All”, ..

Read more

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 documentation, but is a common manual extension to make the system more manageable. All manual ..

Read more

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 htt..

Read more