Monitoring Apache Server of WAMP

Configure Apache Server running in WAMP server

Introduction

WampServer refers to a software stack for the Microsoft Windows operating system, consisting of the Apache web server, OpenSSL for SSL support, MySQL database and PHP programming language. It comes as a bundled application with all the above components, so it is not necessary to deploy the WebServer, Database server and the framework separately and configure them individually. One can try downloading the WAMP Server and installing it.

Setting up the Apache Server for monitoring

Initially when you start the WAMP server for the first time, you won't be able access the server URL (http://host:port/). This is because that the server would have blocked the permission to access the files initially. So first you have to 'Grant Permission' for the files inside the server.

1. Grant permissions for external host:
  • Open the httpd.conf file under wamp/apache/apache.X.X.XX/conf/
  • Change 'Require Local' to 'Require all granted', or if the line 'Require local' is not there, add the line 'Require all granted'
  • Mainly inside the tags <Files ".ht*">, <Directory "${INSTALL_DIR}/cgi-bin">
  • Then open the file httpd-vhosts.conf under wamp/apache/apache.X.X.XX/conf/extra/
  • Change 'Require Local' to 'Require all granted', or if the line 'Require local' is not there, add the line 'Require all granted'
  • Mainly inside the tag <Directory> </Directory>
2. Enable server-status for Apache server monitoring:
3. Restart WAMP server:
  1. Now save all the conf files and restart the WAMP Server. 
Idea
Now try accessing the http://host:PORT/server-status?auto URL from the machine where AppManager is running. If this is accessible in the browser and the proxy settings configured in the browser and the AppManager are same, then you can add the Apache Server for monitoring. Please refer this link for further help regarding monitoring Apache Server and this link for troubleshooting.

                  New to ADSelfService Plus?

                    • Related Articles

                    • Troubleshooting - Apache Server

                      Troubleshooting - Apache Server monitor If you're encountering issues in Apache Server monitor in Applications Manager, follow these steps to diagnose and resolve the problem: 1. Verify the Server is an Apache Server: Open Command Prompt on the ...
                    • Troubleshooting - Apache Solr

                      To troubleshoot Apache Solr Monitor, follow the below steps: Verify Accessibility: Ensure that the Apache Solr instance is accessible from the Applications Manager server. Check Host and Port: Make sure you’ve entered the correct host and port number ...
                    • Prerequisites for monitoring apache server metrics

                      The Apache mod_status module enables users to view detailed performance metrics of the Apache web server. You must enable and configure the mod_status correctly in the Apache configuration file to get performance metrics from Apache and view the data ...
                    • Update on the Apache Log4j Vulnerability

                      A high severity vulnerability ( CVE-2021-44228 ) impacting multiple versions of the Apache Log4j2 utility was disclosed publicly on December 9, 2021. The vulnerability impacts Apache Log4j2 versions below 2.15.0. You can find the details of this ...
                    • I have multiple Tomcat Servers and also a separate Apache Server running. In this scenario, I'm not able to discover or monitor a Tomcat Server.

                      Monitoring of Tomcat Server depends on its deployment. This section explains the possible deployment scenarios of Tomcat. Your configuration of host name and the port depends on these scenarios. Also, for Tomcat Server versions 3.x and 4.x, you have ...