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/). Please refer this link which deals and discusses about the same issue. 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.

To grant permission for external hosts to access the files of the server please follow the below steps:
  • 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>

Now to enable server-status url of the Apache server:
  • In Apache's httpd.conf file, locate "Location /server-status" tag
  • Remove the comment in the Location/Server-status tag, to Enable SetHandler server-status
  • Remove the attribute "Deny from all" and add "Allow from <ip_address>" (Replace <ip_address> with the IP address of the Applications Manager server)
  • Remove the comment in "LoadModule status_module modules/mod_status.so"
Now save all the conf files and restart the WAMP Server. You can do this from the options available in the task bar. Please find the image attached for reference:



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

Note: Refer this link for more information about the configuration

                New to ADManager Plus?

                  New to ADSelfService Plus?

                    • Related Articles

                    • Configure Apache "server-status" page

                      This error occurs when Client is denied to access "server-status" page due to the missing configuration in Apache Server. Make below changes in httpd.conf file to fix the issue Step 1: Load Status Module Search for the line "LoadModule status_module ...
                    • 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 ...
                    • Troubleshooting - Apache Solr

                      If the Solr monitor can't be added, then do the following:- Ask the customer to verify whether he can access the particular Solr instance from the machine where he tries to add. Also ask the customer to access the following URLs from the machine, ...
                    • Troubleshooting - Apache Server

                      Condition to determine, if it is 'Apache Server':- Open Command Prompt in Applications Manager machine and execute the following commands and check for the specified outputs. telnet <Apache_Hostname> <Apache_Portnumber> Then a blank screen appears, ...
                    • Is APM Java agent available for Apache HTTP server?

                      No, our APM Java agent is not supported on an Apache HTTP server running on Windows or Linux host.