Questions tagged [mod-proxy-ajp]

Apache module that provides support for the Apache JServ Protocol version 1.3

Apache module that provides support for the Apache JServ Protocol version 1.3. The Apache JServ Protocol (AJP) is a binary protocol that can proxy inbound requests from a web server through to an application server that sits behind the web server.

23 questions
0
votes
1 answer

Passing shibboleth sp attributes to application on Jetty with Apache as proxy

I have a few spring boot applications running on Jetty embedded. And I have Shibboleth SP running on Apache server. I am able to pass assertion attributes to Tomcat via AJP, but, since Jetty9 doesn't support AJP anymore, I can't do the same. I want…
Avinash K
  • 65
  • 11
0
votes
1 answer

Using mod_proxy_ajp for a java portal on Tamcat+Apache

I have a java portal running on Tomcat but I want its static contents(except html) to be served by Apache httpd. So I've installed an Apache httpd and now I am configuring httpd.conf I know that I need something like the below text:
Amir Keshavarz
  • 2,403
  • 3
  • 19
  • 19
0
votes
1 answer

AJP doesnt work with server alias

I have a application which has apache and tomcat configured using mod_proxy_ajp We have configured it in httpd.conf as below: # This is to redirect any request which is coming with hostname to Login.jsp RewriteRule ^/$ /jsp/Login.jsp [R] #include…
user275880
  • 31
  • 1
  • 2
  • 4
0
votes
1 answer

How do you configure mod_proxy_ajp to support CORS?

I am running Apache with mod_proxy_ajp module. Apache is successfully reverse proxying requests to tomcat. The configuration is specified in the file /etc/httpd/conf.d/proxy_ajp.conf ProxyPass /ajp-web-services…
Nathan Reese
  • 2,655
  • 6
  • 31
  • 34
0
votes
1 answer

Using Mod_proxy Redhat 6 Apache 2.2.15 to Tomcat 7 multiple java webapps issue

I have an apache 2.2.15 front end trying to pass code to tomcat7 with mod_proxy to fire off two different webapps with different base paths. I think I'm close, but I'm still not getting a web page returned. I'm getting the 404 requested resource…
0
votes
1 answer

Subdomain ajp proxy from Apache to Tomcat

I have a domain domain.com that points to a server. Now I have a subdomain sub.domain.com that points to another server that has Apache running and Tomcat. I have configured the following in httpd.conf: ServerName domain.com …
Nathan Q
  • 1,892
  • 17
  • 40
0
votes
1 answer

Servlet + mod-rewrite: HttpSession.getAttribute() returns null

I have a Servlet + JSP app running on Tomcat. I use mod-ajp to redirect apache on Tomcat using these rewrite rules: RewriteRule ^/myapp/(.+) ajp://localhost:8009/myapp/$1 [P] RewriteRule /myapp/(.+) ajp://localhost:8009/myapp/$1 [P] which works…
evg02gsa3
  • 571
  • 5
  • 17
0
votes
1 answer

Load balancing an app server with Apache web servers

Our current setup has 2 load balanced web servers that point their application requests to a load balancer for 2 web servers LB1 / \ Web1 Web2 \ / LB2 / \ App1 App2 The 3rd party app we use now recommends we switch from a…
user99426
  • 13
  • 2
1
2