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
0
votes
1 answer

See requests to real server with mod_proxy

My setup involves using apache with mod_cache and mod_proxy to proxy and cache xml data between my iOS app and a web service. Right now I'm using awstats to see how many requests my iOS app is making to my proxy server. Is there any way to see stats…
edc1591
  • 173
  • 2
  • 9
0
votes
1 answer

What is the easiest way to obtain a script-driven hot failover system?

I need to reconfigure a prod env to provide hot failover for a db driven web app written in Perl that is currently running on an Apache HTTPD server, on a Linux OS. The app is not designed to run in a cluster. Thus, if 2 instances of this app are…
bogdan
  • 65
  • 11
0
votes
1 answer

Unable to use Apache's mod_proxy to forward to a virtual machine

I would like to use mod_proxy to test a website I am building on a local virtual machine from my phone. My network looks like this: Host: IP 1: 10.10.10.2 IP 2: 10.211.55.2 OSX 10.8.2 / Apache 2.2.22 Parallels 8.0 VM guest: IP: 10.211.55.3 Win7 /…
0
votes
2 answers

proxy pass domain FROM default apache port 80 TO nginx on another port

Im still learning server things so hope the title is descriptive enough. Basically i have sub.domain.com that i want to run on nginx at port 8090. I want to leave apache alone and have it catch all default traffic at port 80. so i am trying…
petergus
  • 121
  • 4
0
votes
1 answer

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 to have two tomcat nodes running on the box and so I…
techsjs2012
  • 545
  • 2
  • 6
  • 10
0
votes
1 answer

Is iptable capable of this or should I go with mod_proxy?

I'm trying to configure my network to receive an incoming connection on one device and then redirect it to another device on a specific port. Right now I'm on about port 80 and a device running apache. The problem I'm facing is that when the…
Jesper
  • 3
  • 1
0
votes
1 answer

Apache2 with mod_proxy_ajp doesn't rewrite url

I have apache2 exposing a jboss through mod_proxy_ajp on / and serving some static content with ProxyPass /static ! ProxyPass / ajp://localhost:8009/ in proxy_ajp.conf. I need to redirect all the traffic on www.example.com to example.com and it…
0
votes
2 answers

how can %{BALANCER_WORKER_ROUTE}e be null

I'm trying to set up a balanced cluster with mod_proxy_balancer. I followed the example line from here to set a cookie. I have had to tweak it as the environment is not stable so not every request will return a 200 code. Header always add Set-Cookie…
Jeremy French
  • 675
  • 3
  • 12
  • 25
0
votes
1 answer

Duplicating web requests between virtual hosts at same server

Let's consider such scenario: Apache based web server runs Python-based software which gathers data from remote devices through custom HTTP-based protocol. Each time remote device wants to submit some data it composes HTTP query and posts data to…
kraju
  • 103
  • 1
0
votes
1 answer

Mod_proxy Chunk minimum file size

I am using Apache HTTPD 2.2.17 + Mod_proxy + SSL on Ubuntu as a gateway. Everything works fine but when I send a request with Transfer Encoding: Chunked, it converts(de-chunk) back if the file size is too small. I tested with a 43k works fine.…
user37143
  • 171
  • 1
  • 4
  • 14
0
votes
1 answer

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 requests to tomcat using mod_proxy. Things work…
user10211
  • 19
  • 1
  • 5
0
votes
1 answer

Apache reverse proxy not working like expected

Ok, I'm feeling a bit stupid about this. I'm trying to setup a simple Apache reverse proxy setup and I'm hitting a wall. I've had this setup working in the past, but now I just don't see whats going wrong. Heres the setup: Listen 4050 ServerName…
cg75
  • 1
0
votes
1 answer

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 host computer with Apache2 installed and it routes…
Abenil
  • 125
  • 7
0
votes
1 answer

How to exclude a specific URL from basic authentication in Apache?

Two scenarios: Directory I want my entire server to be password-protected, so I included this directory config in my sites-enabled/000-default: Options FollowSymLinks AllowOverride None AuthType Basic AuthName "Restricted…
ripper234
  • 5,890
  • 9
  • 41
  • 49
0
votes
1 answer

Images and AJAX not loading with mod_proxy_html turned on

Our company is currently supporting a (very old) web-enabled database application written in 4th Dimension (2003) with a built-in web server (provided by an extension called Web Server 4D). Since the web server has no SSL support, our client set up…
andrewtc
  • 111
  • 5