[users@httpd] header out working in local apache but not on development environment

2017-10-26 Thread eeadev dev
I used this apache C function *apr_table_addn(r->err_headers_out , "Remote-Proxy-User", "UserUpn=ME");* I can see the result in my chrome dev tool when I use it in an apache running locally but It does not work in the development environment. what could be the reason? Thank you

Re: [users@httpd] Start apache with tomcat

2017-10-26 Thread Hemant Chaudhary
My apache error log says nothing but timcat error log has this thing when i request to tomcat port. Oct 26, 2017 12:51:24 PM org.apache.coyote.ajp.AjpMessage processHeader SEVERE: Invalid message received with signature 18245 On Oct 26, 2017 6:15 PM, "Eric Covener" wrote: >

Re: [users@httpd] Start apache with tomcat

2017-10-26 Thread Eric Covener
On Thu, Oct 26, 2017 at 8:22 AM, Hemant Chaudhary wrote: > Hi, > > If I am using http and apache port then index.html of apache is displayed > not of ajp. > > Do I need to change in ajp.conf and server.xml ? Hard to guess why your ProxyPass is not used, could be

Re: [users@httpd] Start apache with tomcat

2017-10-26 Thread Hemant Chaudhary
Hi, If I am using http and apache port then index.html of apache is displayed not of ajp. Do I need to change in ajp.conf and server.xml ? On Oct 26, 2017 5:37 PM, "Eric Covener" wrote: > > From browser I am sending request ajp://15.213.91.33:5644, but getting > "this page

Re: [users@httpd] Start apache with tomcat

2017-10-26 Thread Eric Covener
> From browser I am sending request ajp://15.213.91.33:5644, but getting "this > page is not working". Your browser wouldn't use ajp, it would use http. It would also use the HTTP servers port, not tomcats. - To unsubscribe,

Re: [users@httpd] Start apache with tomcat

2017-10-26 Thread Hemant Chaudhary
Hi Few questions regarding your setup. What is the Listen or port of your apache server ? Is it 8009 ? Tomcat and apache should start in same or different port ? After comment in server.xml, do we need to add anything there ? What url should I use to access tomcat from browser ? In my setup, I

Re: [users@httpd] Start apache with tomcat

2017-10-26 Thread kohmoto
Hi, This is may way with httpd and tomcat. Step 1. The following phrase is comment out  from server.xml.     Step 2 The followings are activated in httpd.conf LoadModule proxy_module lib/httpd/modules/mod_proxy.so LoadModule proxy_ajp_module lib/httpd/modules/mod_proxy_ajp.so Step 3 The

[users@httpd] Start apache with tomcat

2017-10-26 Thread Hemant Chaudhary
Hi All, I am using tomcat-7.0.82 and httpd-2.4.25. Following are my configuration : in server.xml in httpd.conf Listen 5643 Loaded mod_proxy_ajp and mod_proxy Include /home/ananya/apache-2.4.25/other/ajp.conf in ajp.conf ProxyRequests Off Require all granted