Multi-Processing Modules (MPM) The default processing model (MPM) is the process-based ‘prefork’ model. A thread-based model, ‘worker’, is also available, but does not work with some modules (such as PHP). The service must be stopped before changing this variable. Enable the worker module To enable the …
Log rotation is already configured in apache and by default, it rotates the log files weekly as shown below in the default configuration file. But we need to change it if the log file size becomes very big in a week. Default Configuration # cat /etc/logrotate.conf …
April 25, 2018
Linux, Web Servers
Problem We need to show the maintenance page to the outside users of our application/website during the deployment of codes or hardware maintenance. We can show the maintenance page or downtime message to the users by making some changes to apache configuration files. But for internal testing, …
Problem # vi /etc/httpd/conf.d/proxy_ajp.conf ProxyPass /TESTAPP/ ajp://10.20.2.22:8009/TESTAPP/ I have added the above line in proxy_ajp.conf file on my apache web server to access my application running on JBoss. but when tried to access my application through the url given below got the error. Error on Browser while accessing the …
February 8, 2018
Linux, Web Servers
Problem I have installed Apache 2.2.3 on my web server. After installation, I made some changes in httpd.conf file and created the required directory for DocumentRoot but when I tried to start the HTTPD service I got the below error: # service httpd start Starting httpd: Syntax …
February 1, 2018
Linux, Web Servers
Problem I tried to remove the package apr-1.2.7-11.el5_6.5 from a Linux server and I got the error “error: “apr-1.2.7-11.el5_6.5” specifies multiple packages” # rpm -e apr-1.2.7-11.el5_6.5 error: "apr-1.2.7-11.el5_6.5" specifies multiple packages Reason I got the above error because multiple instances of the package apr-1.2.7-11.el5_6.5 were installed on …