Tagged Questions
0
votes
0answers
50 views
apache ProxyPassReverse: redirect from http to https
I have a Tomcat instance proxied by Apache. I also use ProxyPassReverse to adjust tomcat redirects
The problem comes when http request needs to be redirected to https, so I need something like
...
1
vote
0answers
230 views
“ajp_read_header: ajp_ilink_receive failed”
We have Apache 2.2.24 in front of Tomcat 7.0.33. We're using AJP connectors with APR/native configured. I recently noticed a number of 500 errors in the Apache access logs for a small proportion ...
2
votes
1answer
318 views
Apache SSL reverse proxy to a Embed Tomcat
I'm trying to put in place a reverse proxy for an application that is running a tomcat embed server over SSL. The application needs to run over SSL on the port 9002 so I have no way of "disabling SSL" ...
0
votes
1answer
36 views
mod_proxy module in tomcat for development environment
I've a webapp deployed on tomcat server A, which is dependent on a couple of wars deployed on a different tomcat server B. I've a proxy web server (apache) which I've configured to redirect requests ...
0
votes
0answers
117 views
Error 502 Bad Gateway with Apache 2.2.11 and Tomcat 6.0.24
I am having a similar issue (502 Bad Gateway) described in this post: mod_proxy on Apache 2.2.3 proxying to Tomcat 5.5 returns Error 502 Bad Gateway since some time.
I am occasionally having 502 Bad ...
0
votes
0answers
25 views
Jira Proxy Forwards to www domain
I am using the complex version of the mod_proxy method to create subdomains of my main domain for JIRA and Confluence, however when I got to the subdomains they show as if they are parked on the ...
1
vote
1answer
186 views
Apache2/glassfish|tomcat: Redirecting some (but not all) requests on 80 to glassfish on port 8080, where is the admin screen?
Using that answer: How to redirect traffic on port 80 to Tomcat port 8080 whilst still allowing the server to send/receive on port 80
I've configured my apache2 server to redirect some requests to ...
0
votes
1answer
48 views
Why do I have to do a setenforce 0 to cluster tomcat on Scientific Linux using mod_proxy
Why do I have to do a setenforce 0 to cluster tomcat on Scientific Linux using mod_proxy
I am using Scientific Linux release 6.2 and trying to get mod_proxy working with httpd and tomcat.
I want ...
1
vote
1answer
93 views
only port working with mod_proxy is 8009, trying to use with tomcat and httpd, dont know why
I am trying to use mod_proxy with httpd and tomcat. If I leave tomcat ajp to run on 8009 in the server.xml of tomcat and in the httpd.conf of apache httpd everything works great but once I change it ...
1
vote
2answers
198 views
trying to use mod_proxy with httpd and tomcat
I been trying to use mod_proxy with httpd and tomcat...
I have on VirtualBox running Scientific Linux which has httpd and tomcat 6 on it.. I made two nodes of tomcat6.
I followed this guide like 10 ...
0
votes
1answer
873 views
What is causing apache2 proxy error when forwarding to tomcat?
I set up apache to proxy for tomcat but I am getting the following error when I target the page. I sometimes get a blank page or a 503:
[Error]
[Mon Dec 03 04:58:16 2012] [error] proxy: ...
1
vote
0answers
118 views
JBoss AS7 mod_proxy or mod_cluster or mod_jk
JBoss AS7 mod_proxy or mod_cluster
Let me begin a cluster of JBoss AS7 servers. I have discovered that it might be done using apache with mod_proxy or with mod_cluster. Which can you use? Which is ...
1
vote
1answer
35 views
How to tell httpd to preserve the proxied error message?
I have an httpd server proxying the requests to 2 different tomcat servers.
One of my server handles the authentication and returns a specific http error code 521 when the user already have a running ...
0
votes
1answer
297 views
Losing JSESSIONID when using ProxyHTMLURLMap
I've setup a reverse proxy between an Apache front-end and multiple Tomcat backends. The below block of code includes the ProxyHTMLURLMap param so that the HTML can be rewritten to remove the Tomcat ...
1
vote
0answers
193 views
Apache 2 proxy for Tomcat 7
Following the how-to, I wanted to make a proxy for traffic to the address /app to be processed by Tomcat 7.
I added this to my httpd.conf:
LoadModule proxy_module {path-to-modules}/mod_proxy.so ...
2
votes
1answer
303 views
Obscuring tomcat context path in URL
I've setup an Apache reverse proxy to Tomcat that is working, in that I can load my url and get connection to the Tomcat backend. What I'm attempting to do now is rewrite the URL that a user sees in ...
1
vote
1answer
154 views
How can I get apache to serve static content in a reverse-proxied setup?
I have a setup where my Tomcat instances are fronted with Apache servers with mod-proxy. I need to serve static content on the reverse-proxy side in case authentication closes my app session (heavy ...
1
vote
1answer
722 views
Apache2 mod_proxy to remote Tomcat7 - slow response
Been stuck with this one for a few days. Will try to provide as much information as possible, but please feel free to ask for extra detail.
I have 2 VMs behind a NAT, 192.168.0.100 and 192.168.0.102, ...
0
votes
1answer
532 views
Apache forwarding to tomcat shows a blank page
I have an application running on tomcat at http ://www.example.com:9090/mycontext. The host name in server.xml points to www .example.com. I do not have localhost anymore. I am using apache to forward ...
0
votes
1answer
361 views
mod_proxy: pass path from original request to proxied app
I'm struggling with reverse proxying an app running in a Tomcat server on a closed port behind Apache. For convenience, say that I want to reverse proxy requests for 'http://mydomain/apps/my_app/' to ...
0
votes
1answer
283 views
How to set default URL Path in Tomcat 6
I have installed Tomcat 6 and Jenkins. I can connect to it via http://localhost/jenkins, but i want to access it directly via http://localhost. How can I archive this?
My complete setup includes a ...
1
vote
1answer
443 views
RedirectMatch redirect every url to https except few urls
At present I am redirecting all http urls to https urls using the following directive,
RedirectMatch permanent ^(.*)$ https://someserver.com$1
Now I am stuck with an scenario where I have to ...
1
vote
1answer
402 views
mod_ajp_proxy configurations and session stickiness
I have a jboss and apache setup hosting my .war file. I have enabled session stickiness to forward requests from apache to jboss . Assume I have 2 apache and 2 jboss instances.
Is the below setting ...
0
votes
0answers
224 views
How do I rewrite headers returned from mod_proxy_http in apache?
I have a tomcat container which is sitting behind an Apache 2.2 mod_proxy server. At the moment, the tomcat container, when doing a redirect is redirecting to an absolute URL every time using a code ...
2
votes
2answers
893 views
How to configure both apache and tomcat on same url?
Say I have a registered URL mywebsite.com pointing to my server with a public IP address.
I want to run both tomcat and apache to serve pages (i.e., some static pages on apache and some dynamic pages ...
0
votes
1answer
220 views
how to use Apache mod_proxy to provide access to Tomcat webapp
I have defined a Virtual Host for example.com in Tomcat Host Manager.
I can access http://example.com:8080/Web_Application. However I want to use http://example.com/webapp.
I also want to access ...
0
votes
1answer
437 views
am i adding mod_proxy on CentOS with tomcat/apache correctly?
I am trying to map a java web application named "Cricket_rank_inspector" to the domain www.CRRI.com/cri
I plan to add the following 2 records to the httpd.conf (under section of VHOST for CRRI.com)
...
0
votes
0answers
180 views
Prevent direct web requests to Tomcat server but through Apache HTTP server
I am trying to run Tomcat server with Apache HTTP server as front end, which I am able to configure successfully using mod_proxy plugin.
I am able to access the sample application provided in Tomcat ...
1
vote
0answers
279 views
Long running process times out through an apache proxy but not when bypassing the proxy
So I have this tomcat based webapp. Part of this webapp lets you upload a file that then is checked against a backend database. This process takes a long time, up to 15 minutes in some cases. Now ...
0
votes
1answer
69 views
How do install Apache mods in Tomcat?
I have a web app which can run inside a servlet container (I use Tomcat). Now I want to use load balancing because I have 2 of these servers. But, if I want to use mod_proxy_balancer, do I need to be ...
1
vote
1answer
343 views
How to configure mod_proxy_ajp to give different permissions to different apps in one virtual host?
On my server I have two tomcat applications: 'hidden' and 'open'. The hidden application should only be available for the local network 192.168.0.0. The open app should be available for all networks.
...
0
votes
1answer
656 views
lighttpd fails while enabling mod_proxy
i am trying to set up an server with lighttpd and tomcat my conf is below
server.modules = (
"mod_access",
"mod_alias",
"mod_accesslog",
...
1
vote
4answers
3k views
Absolute urls not working with Apache2 AJP proxy Tomcat
I don't seem to get how to configure ReverseProxy correctly. The URLs returned are all for the root directory "/", not "/tomcat" and only the main "default" tomcat page is displayed. I use Apache2 as ...
0
votes
1answer
428 views
Apache mod_proxy parameters
I have a machine running Apache with mod_proxy that I'm using to proxy a local Tomcat server running on another port.
The problem is that Tomcat does not support wildcard sub-domains(whole reason ...
0
votes
1answer
231 views
redirection problem with mod ajp
hi all
i have a redirection problem with mod ajp, that it always adds the application name before the desired page, for example:
if i requested the page:
http://myapp.com/mypage
it is converted to
...
0
votes
2answers
1k views
Tomcat cookies not working via my ProxyPass VirtualHost
I'm having some issues with getting cookies to work when using a ProxyPass to redirect traffic on port 80 to a web-application hosted via Tomcat.
My motivation for enabling cookies is to get rid of ...
0
votes
3answers
2k views
Passing IP address with mod_proxy
I have Apache with mod_proxy passing requests to Tomcat. The trouble is, when I get client IP address associated with a request in web app hosted on Tomcat, it always returns 127.0.0.1.
Is it ...
0
votes
2answers
3k views
mod_proxy incorrect redirect behaviour
In chrome this configuration causes an infinite redirect loop and in every other browser I have tried a request for https://www.example.com/servlet/foo is resulting in a redirect to ...
0
votes
1answer
586 views
How to use mod_proxy to let my index of Apache go to Tomcat ROOT and be able to browse my other Apache sites
I am trying to use my Tomcat application (deployed at ROOT) to be viewed from Apache port 80. To do this, I used mod_proxy, since mod_jk made me try harder.
I used sth like this in httpd.conf:
...
1
vote
0answers
329 views
Tomcat fails on first request in combination with jsvc
I have a web application where the first request may take a few seconds as some singletons are initialised.
I've used the mod_proxy and jsvc construction mentioned in this question and described on ...
0
votes
1answer
322 views
apache hangs when tomcat fails
I have apache in front of Tomcat, using mod_rewrite and mod_proxy to relay requests while serving static content directly.
The Tomcat server can get bogged down and stop responding, or just plain ...
0
votes
1answer
1k views
mod_proxy tomcat
I've asked this question in a few places and I've found no answer. It should be pretty simple and a pretty common problem. Unfortunately I know nothing about tomcat and mod_proxy so I'm unable to ...
6
votes
4answers
2k views
mod_jk or mod_proxy
I tried googling and the only articles I found comparing these two were from 2005 down to 2002. I just set up my first Tomcat instance to run Jira for a project I'm doing. I want to proxy this ...
0
votes
2answers
3k views
mod_proxy on Apache 2.2.3 proxying to Tomcat 5.5 returns Error 502 Bad Gateway
I'm getting a 502 bad gateway error when using mod_proxy on Apache 2.2.3 proxying to Tomcat 5.5.
It works correctly when used directly via Tomcat (not via mod_proxy), so I assume the problem is on ...
