Description of problem: I am getting warnings from apache plugin in agent.log [ResourceContainer.invoker.daemon-58] (rhq.plugins.www.util.WWWUtils)- Ping request to [http://1.2.3.4:80] returned a response with client error 403 (Forbidden) When I try GET on http://1.2.3.4:80 I get 200-OK. Version-Release number of selected component (if applicable): RHQ 4.5-master How reproducible:always Steps to Reproduce: 1.import apache on linux 2.check agent.log Expected results: warnings should disappear, since http://1.2.3.4:80 does not return 403
Is a redirect being used? What does the following produce: wget --max-redirect=0 http://1.2.3.4/ I am not sure if we would handle redirects. Additionally, if a proxy configuration is used, it could react differently to each client. How are you testing the http://1.2.3.4:80 URL when receiving the 200 OK? Also, what does the access.log and error.log reveal for the ping?
Not a bug. My mistake. There is no proxy, no such thing. I just tried it in chromium and saw 'Red Hat Enterprise Linux Test Page' and I did not believe that by default httpd on RHEL6 returns 403.