We are trying to place Apache 2.2.22 in front of our Jboss 7.1 server as a proxy for a web application.
The jboss web application is working on port 8080 and we can access directly via http://FQDN:8080/MyApp . The jboss and apache are on the same server, but are behind a firewall and thus have a nat ip. We have configured Apache with the following in the config: ProxyPass /MyApp ajp://127.0.0.1:8009/MyApp ProxyPassReverse /MyApp ajp://127.0.0.1:8009/MyApp When we try to access http://FQDN/MyApp we get the following generated in our error log and nothing in the browser. The ajp_unmarshal_response status of 404 sounds like the request is not returning anything. [Wed Oct 24 23:06:36 2012] [debug] mod_proxy_ajp.c(45): proxy: AJP: canonicalising URL //127.0.0.1:8009/MyApp [Wed Oct 24 23:06:36 2012] [debug] proxy_util.c(1506): [client 73.130.116.33] proxy: ajp: found worker ajp://127.0.0.1:8009/MyApp for ajp:// 127.0.0.1:8009/MyApp [Wed Oct 24 23:06:36 2012] [debug] mod_proxy.c(1020): Running scheme ajp handler (attempt 0) [Wed Oct 24 23:06:36 2012] [debug] mod_proxy_http.c(1963): proxy: HTTP: *declining URL* ajp://127.0.0.1:8009/MyApp [Wed Oct 24 23:06:36 2012] [debug] mod_proxy_ajp.c(721): proxy: AJP: serving URL ajp://127.0.0.1:8009/MyApp [Wed Oct 24 23:06:36 2012] [debug] proxy_util.c(2011): proxy: AJP: has acquired connection for (127.0.0.1) [Wed Oct 24 23:06:36 2012] [debug] proxy_util.c(2067): proxy: connecting ajp://127.0.0.1:8009/MyApp to 127.0.0.1:8009 [Wed Oct 24 23:06:36 2012] [debug] proxy_util.c(2193): proxy: connected /MyApp to 127.0.0.1:8009 [Wed Oct 24 23:06:36 2012] [debug] proxy_util.c(2444): proxy: AJP: fam 2 socket created to connect to 127.0.0.1 [Wed Oct 24 23:06:36 2012] [debug] ajp_header.c(224): Into ajp_marshal_into_msgb [Wed Oct 24 23:06:36 2012] [debug] ajp_header.c(290): ajp_marshal_into_msgb: Header[0] [Host] = [FQDN of our server] [Wed Oct 24 23:06:36 2012] [debug] ajp_header.c(290): ajp_marshal_into_msgb: Header[1] [User-Agent] = [Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:16.0) Gecko/20100101 Firefox/16.0] [Wed Oct 24 23:06:36 2012] [debug] ajp_header.c(290): ajp_marshal_into_msgb: Header[2] [Accept] = [text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8] [Wed Oct 24 23:06:36 2012] [debug] ajp_header.c(290): ajp_marshal_into_msgb: Header[3] [Accept-Language] = [en-us,en;q=0.5] [Wed Oct 24 23:06:36 2012] [debug] ajp_header.c(290): ajp_marshal_into_msgb: Header[4] [Accept-Encoding] = [gzip, deflate] [Wed Oct 24 23:06:36 2012] [debug] ajp_header.c(290): ajp_marshal_into_msgb: Header[5] [DNT] = [1] [Wed Oct 24 23:06:36 2012] [debug] ajp_header.c(290): ajp_marshal_into_msgb: Header[6] [Connection] = [keep-alive] [Wed Oct 24 23:06:36 2012] [debug] ajp_header.c(290): ajp_marshal_into_msgb: Header[7] [Cookie] = [JSESSIONID=LTQ2aBxH4QXdKJhNYAYUHuGD.undefined] [Wed Oct 24 23:06:36 2012] [debug] ajp_header.c(290): ajp_marshal_into_msgb: Header[8] [Cache-Control] = [max-age=0] [Wed Oct 24 23:06:36 2012] [debug] ajp_header.c(450): ajp_marshal_into_msgb: Done [Wed Oct 24 23:06:36 2012] [debug] mod_proxy_ajp.c(270): proxy: APR_BUCKET_IS_EOS [Wed Oct 24 23:06:36 2012] [debug] mod_proxy_ajp.c(275): proxy: data to read (max 8186 at 4) [Wed Oct 24 23:06:36 2012] [debug] mod_proxy_ajp.c(290): proxy: got 0 bytes of data [Wed Oct 24 23:06:36 2012] [debug] ajp_header.c(687): ajp_read_header: ajp_ilink_received 04 [Wed Oct 24 23:06:36 2012] [debug] ajp_header.c(697): ajp_parse_type: got 04 [Wed Oct 24 23:06:36 2012] [debug] ajp_header.c(516):*ajp_unmarshal_response: status = 404 * [Wed Oct 24 23:06:36 2012] [debug] ajp_header.c(537): ajp_unmarshal_response: Number of headers is = 1 [Wed Oct 24 23:06:36 2012] [debug] ajp_header.c(599): ajp_unmarshal_response: Header[0] [Content-Length] = [0] [Wed Oct 24 23:06:36 2012] [debug] ajp_header.c(687): ajp_read_header: ajp_ilink_received 05 [Wed Oct 24 23:06:36 2012] [debug] ajp_header.c(697): ajp_parse_type: got 05 [Wed Oct 24 23:06:36 2012] [debug] proxy_util.c(2029): proxy: AJP: has released connection for (127.0.0.1) Thanks for the help. Jo