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