Questions tagged [mod-proxy]

mod-proxy is the proxying module for the Apache HTTP server.

mod-proxy is the proxying module for the Apache HTTP server.

Questions with this tag should relate directly to the use of this module. Questions about mod-proxy-balancer should use that tag rather than this one.

848 questions
0
votes
2 answers

running Flask jQuery example under Apache proxy

I can successfully run the Flask jQuery example (as referred near bottom of Flask's "AJAX with jQuery" page.) It runs on the flask development server, and is accessible at http://localhost:5000. How do I proxy the page so that I can access the same…
Velimir Mlaker
  • 10,664
  • 4
  • 46
  • 58
0
votes
1 answer

why I failed in JBoos-7 Virtual Hosting with mod_proxy?

I am trying to make Jboss-7 deployment work with mod_proxy on port 80, but I faced problem 1- I modified the standaloan.xml
user1560992
  • 227
  • 1
  • 2
  • 7
0
votes
1 answer

how to mask a URL?

I have a link displaying an image on my site which is from www.somedomain.com/image.jpg How can I mask the domain so that it is www.mydomain.co.uk/image.jpg ? Would this be done using mod_rewrite? Thanks
asdf1234
  • 127
  • 4
  • 10
0
votes
1 answer

Rails root url with mod_proxy

Rails versions: 3.2 I have an existed PHP site and I would like to add new features in it with Rails. The final gole is to migrate the entire site to rails, therefore I choose to use mod_proxy to integrate rails by a sub path: /ror Here's my…
Jason Lu
  • 31
  • 3
0
votes
0 answers

Health page in apache mod_proxy

I have one apache with balancer, and 2 tomcats. I'm trying to use apache mod proxy and want to set healthy page (so if one of my WAR does not work, requests will not be directed to it), which will help the apache decide to fail server if this page…
Ahiel
  • 493
  • 3
  • 11
0
votes
1 answer

Reverse Proxy in CakePHP?

I've got a CakePHP application, and the following directives in my httpd.conf ProxyRequests off ProxyPass /forum/ http://somesite.com/phpbb3 ProxyPass /gallery/ http://someothersite.com/gallery3 ProxyPassReverse…
FilmJ
  • 2,011
  • 3
  • 19
  • 27
0
votes
1 answer

Passing Apache Environment variables to gunicorn through mod_proxy

I'm not entirely sure this is the right way to skin this cat, so feel free to propose completely alternate solutions. I have a Django site running on gunicorn behind apache's mod_proxy (with the ProxyPass and ProxyPassReverse directives). I'm also…
Aaron McMillin
  • 2,532
  • 27
  • 42
0
votes
1 answer

How to get same remote session with cURL and ajax curl request?

I have php site that curl's remote php app with mod rewrite proxy that uses session to store app state. Page's some php codes are loaded from remote server with mod proxy and curl (in to the center box, so no htm and head tags goes trough curl) I…
Lonelyisland
  • 1
  • 1
  • 6
0
votes
1 answer

Using Apache RedirectMatch in an SSL Vhost

I would like to: redirect https requests for / to /sweetApp/ redirect all http requests to https after the redirects, proxy requests to an internal ip address I have set up these vhost rules. The http to https redirect works but the redirect to…
SimplGy
  • 20,079
  • 15
  • 107
  • 144
0
votes
1 answer

Setting up Apache to use an internal Proxy Server( Proxy Chaining? )

I have a situation where I need to route requests to Apache through an internal Proxy Server before redirecting to an external Site, the setup is something like this: Browser Request --> Apache --> Internal Proxy Server --> External Site Without…
Phoenix
  • 33
  • 1
  • 6
0
votes
1 answer

Spring Security, OpenID, and mod_proxy

I have an application using spring-security's OpenID implementation. The app server sits behind a proxy. The proxy is apache httpd with mod_proxy. If the proxy connects to the app server via HTTP, the application will tell the OpenID authenticator…
Marshmellow1328
  • 1,205
  • 3
  • 18
  • 27
0
votes
2 answers

.htaccess - Redirect from subdomain root to subdomain's folder (mod_rewrite/mod_proxy)

Problem I am trying to redirect from the root folder of a sub-domain, e.g. sub.example.com, to a sub-directory of the sub-domain and keep the sub-domain in the address bar, e.g. sub.example.com/subdir1. This is not the first time that I have used…
Zachary Kniebel
  • 4,686
  • 3
  • 29
  • 53
0
votes
1 answer

Modifying proxied content on apache

I have an Apache 2.2 server running mod_proxy and I would like to manipulate the output before the proxy sends it down to the client, but I need something more powerful than mod_substitute. Is there a way I can run the proxied content through…
Glenn Slaven
  • 33,720
  • 26
  • 113
  • 165
0
votes
1 answer

How to make Apache pass on some URLs to a different server

I have copied most of a php website to my local computer for debugging and development. There is a HUGE number of images on the original remote website that I cannot transfer. The same images are served by two different domain names on the same…
necromancer
  • 23,916
  • 22
  • 68
  • 115
0
votes
1 answer

Configuring apache mod_proxy for cross-domain ajax calls

I started working on a small JavaScript app today that utilizes the Clipped API (http://clipped.me/api.html), but learned that there are cross-domain AJAX call issues, and the developer of the API didn't add support for JSONP. Here's the app…
Jake Stevens
  • 157
  • 4
  • 13