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 ~<username> # chmod 755 -R ~<username>/public_html/ <IfModule mod_userdir.c> # # UserDir is disabled by default since it can confirm the presence…

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

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 httpd restart

Optimize apache

Home »Service Configuration »Apache Configuration »Global Configuration Minimum Spare Servers 8 Maximum Spare Servers 32 Max Clients 1500 Max Requests Per Child 0 Start Servers 8 Server Limit 2000 Keep-Alive Timeout 15 Max Keep-Alive Requests 256 Other options: –addition of memcache –recompiling Apache to run as PreFork opposed to MPM Worker Event Check for Prefork or Worker # [root@austin ~]# /usr/sbin/httpd -V | grep…