Questions tagged [mod-proxy]

Module for the apache webserver with which apache can be used as proxy server. With this module apache can act as a regular proxy, or as a reverse proxy for upstream servers.

689 questions
3
votes
1 answer

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 ajax app). The idea is the browser is requesting…
code-gijoe
  • 439
  • 1
  • 6
  • 15
3
votes
1 answer

apache mod_proxy, page reload and sessions

I use the apache "mod_proxy" to forward all requests to the glassfish server. The relevant apache config is: # proxy to glassfish app ProxyRequests Off ProxyPreserveHost On Order deny,allow Allow from all
stewert
  • 61
  • 1
  • 7
3
votes
0 answers

Making mod_proxy_http send back response asynchronously (w/o 100 Continue)

A servlet engine (Jetty) is running behind an Apache Httpd server, forwarded using mod_proxy_http. This is running a small servlet that accepts PUT requests and is authenticated using HTTP Basic authentication (handled within Jetty). When doing a…
Bruno
  • 4,099
  • 1
  • 21
  • 37
3
votes
2 answers

How to properly use VirtualHost and mod_proxy together for different incoming domain names and internal ports?

I am trying to setup httpd.conf properly but regardless of the sub-domain/domain combo below, they all resolve to the same internal URL. Order Allow,Deny Allow from all ProxyRequests Off
Jason
  • 3,247
  • 9
  • 27
  • 28
3
votes
2 answers

Apache nested virtual hosts

I have two virtual hosts in a apache server and I would like to do something but I don't know if is possible. The thing is that I have the main application developed and ruby and the blog is in wordpress. So right now I have something like this:…
Rafael
  • 131
  • 3
3
votes
1 answer

is it possible to display contents of an external URL through my website?

I have a domain, mydomain.com, which I would like to display content from another site. For example, imagine that there is content at this url --> http://www.foo.com/my/file.bar, and I would like the content from that page to be displayed when a…
2hamed
  • 479
  • 1
  • 5
  • 23
3
votes
1 answer

Apache configuration to make NTLM authentication work through a Proxy

I'm running an application server behind an Apache proxy with the following sort of thing in my Apache config: ProxyPass /app http://myapplication:8080/myapp ProxyPassReverse /app http://myapplication:8080/myapp When I switch on NTLM…
Nick Pierpoint
  • 629
  • 1
  • 9
  • 14
3
votes
1 answer

Apache 500 when proxying URLS with %20 via mod_proxy

We are receiving a 500 out of Apache while proxying calls to tomcat when there is an encoded space in the URL. We are migrating an application that ran fine on a J2EE container which had an older, integrated version of Apache (1.x), but as soon as…
Matt Franklin
  • 193
  • 1
  • 3
  • 6
3
votes
4 answers

Migrating a subdomain to a subdirectory, whilst running on a separate server

I'm currently working on a site that's hosted across two different servers. One server hosts the main site (example.co.uk), the other server hosts an ecommerce application (Magento) and is currently accessible at shop.example.co.uk. I have full…
3
votes
2 answers

How to securely partition blog folder on existing Apache website

I'm very aware of the benefits of running different websites under different user accounts to limit the damage if a single web application is compromised. I have been instructed to install a wordpress blog on our main corporate domain as a subfolder…
Michelle
  • 923
  • 5
  • 20
  • 30
3
votes
1 answer

apache mod proxy to another domain with relative paths

We have an apache virtual host www.example.com now Im trying to get www.example.com/mypath to go to load the pages from www.example1.com using mod_poxy i have it with a base ProxyPass /mypath http://www.example1.com ProxyPassReverse /mypath…
3
votes
4 answers

502 errors with apache mod_proxy hot standby (or equivalent)

Anyone knows how to configure the hot standby (+H) mod_proxy feature so that the takeover occurs immediately (without even one user receiving a 502) error during a shutdown? We aren't looking for real load-balancing, we just want a secondary server…
6million
  • 31
  • 2
3
votes
1 answer

Apache SSLProxyEngine

I have to configure a reverse proxy to redirect the HTTPs Request to another host which is also running HTTPs,,,But I get stuck Here is the virtualhost configuration on my Apache as the reverse Proxy ServerAdmin…
billyduc
  • 1,617
  • 8
  • 24
  • 26
3
votes
1 answer

Apache2 mod_proxy and post-multipart size

I have Apache2 configured to proxy all traffic directed to a specific virtual host to a local tomcat instance. All is good and fine but for multipart posts larger than ~100kb. Such posts fail on the tomcat end with an exception like…
Pietro
3
votes
1 answer

Mod_Rewrite Apache ProxyPass?

I have two websites; OLDSITE and NEWSITE. The OLDSITE has 120 IP Address that it has with it, and the NEWSITE had 5. I want to be able to separate everything from OLDSITE and NEWSITE so they are not tied together but use them on the same linux…
Anon