0
votes
0answers
51 views

Social Engine + Apache2 + Nginx Reverse Proxy [closed]

i'm trying to setup an apache2-Server on Ubuntu 14.04 (and Debian 7.6) with nginx as a reverse Proxy and varnish as a cache. Configuration so far: === NGINX ==== /etc/nginx/proxy_params ...
2
votes
2answers
2k views

Nginx Redirect via Proxy, Rewrite and Preserve URL

In Nginx we have been trying to redirect a URL as follows: http://example.com/some/path -> http://192.168.1.24 where the user still sees the original URL in their browser. Once the user is ...
1
vote
1answer
65 views

apache change proxy request url rewrite

I have problem with proxy requests. I need to enable apache mod_proxy for my subdomains but i forgot to set Allow from mydomain.com, it was Allow from all...Yes, i created open proxy for all world... ...
0
votes
0answers
102 views

nginx rewrite - proxy if file not exists

I have a local directory (uploads) and an S3 bucket setup. when the user is uploading an image the file is stored on the local directory: /uploads/member_id/image_name and after 30 minutes the system ...
1
vote
0answers
13 views

Setting a bail out proxy based on HOST header

We have set up a proxy during our migration phase and saw that people try to abuse it. It is correctly configured and forward only to our application server but these trials charge our main server. ...
1
vote
1answer
1k views

Squid url_rewrite_program is not working

I'm writing a url_rewrite module for squid in python (OS: Ubuntu 13). For now the code is just a test which should print the received stdin to a file: #!/usr/bin/python import sys,os url = ...
0
votes
2answers
212 views

nginx serving alternate location on 404

I'm trying to set up an nginx config as follows: When receiving a request like /tile/SteveCountryVic/1/2/3.png: Attempt to pass it through to http://localhost:5005/1/2/3.png If that 404s, pass it to ...
0
votes
1answer
159 views

How to change URL parameter using transparent proxy

I have a subnet of computers connected to Internet through a router (which could be a HTTP proxy as well). My goal is to change URL parameter for a one single URL. If users go to ...
0
votes
0answers
21 views

Accessing IIS from internal IPs

I have a small webserver set up running Windows 8 Pro and IIS 8. One can access the site from the external domain easily enough, but accessing it internally becomes a chore given the fact that I want ...
1
vote
2answers
1k views

How to configure apache as a reverse proxy with the remote server specified in a query string parameter

Problem: I'm trying to configure apache as a reverse proxy where the remove server is specified in a query string parameter. Let's say I'm serving a site at mywebapp.com. If you navigated to ...
0
votes
1answer
193 views

Apache Proxy and Rewrite, append directory to URL

I have a backend server running on http://10.0.2.20/ from the local network, which serves similar to this: / (root) | |_user1/ | |_www/ | |_private/ | |_user2/ |_www/ |_private/ (etc.) ...
1
vote
1answer
141 views

Pretty URLs with Apache proxying [closed]

I'm running some webcams (with embedded servers) on my business network that are accessible via the web, and I want to make "pretty" URLs that Apache can route to the ports that they run on so my wife ...
1
vote
1answer
474 views

Rewrite URLs with Apache (to be used in combination with mod_proxy)

I'm using Apache and mod_proxy to provide access to the Monit GUI over HTTP. So far my configuration is as follows: ProxyRequests Off <Proxy *> Order deny,allow ...
2
votes
1answer
363 views

Can I configure IIS 7+ to do a dynamic reverse proxy based on the incoming hostname?

I am trying to configure IIS to proxy requests based on the incoming hostname. For example, if my proxy server is an IIS server located at www.proxy.com, a request to www.google.com.www.proxy.com ...
0
votes
1answer
872 views

Reverse Proxy on Virtual Directory in IIS7

I am running a WHS 2011 and try to proxy an internal webserver (subsonic) over IIS7. The goal is: https://external_host/subsonic -> http://internal_host:4040 What I've done so far: Created a ...
1
vote
1answer
411 views

Is it possible to have dynamic proxy_remote_match directives in apache2 or work around it somehow?

I am running a forward proxy, where I want to forward certain requests to different proxy servers using ProxyRemote. Which request goes to which server depends on many factors (time, load, url, host, ...
2
votes
1answer
2k views

How to use Apache to proxy from subfolder to other server

Given the following url: domain.com/wiki/ I'd like apache to redirect all requests below that (so domain.com/wiki/*) to otherdomain.com:8080/. But the trick is I want the user to always see ...
1
vote
1answer
106 views

Squid site redirection

I have an internal website that cannot be accessed from some machines on my network, due to the physical location, VPN ,network ranges etc. I would like to install Squid on "in between" network to ...
1
vote
1answer
1k views

Squid url rewrites https>>http

I'm exploring some uses with Squid proxy 2.7 and I have seen a good number of examples for url rewrites that take urls such as: http: //somesitename.com and then the rewriter can change the url to: ...
0
votes
1answer
201 views

nginx. Proxy subdomain to blogspot

I want to set up my nginx to proxy the subdomain http://blog.mydomain.comtohttp://myblog.blogspot.com, but I don't want to rewrite the url. So the user will see mydomain.com url instead of the ...
0
votes
1answer
804 views

Subdomain Proxy/Rewrite with Nginx Proxy

I want to take m.example.com and direct those requests to example.com/mobile/ with nginx. (The same nginx sever will be serving example.com) Can someone help me with the config I would need? I can ...
1
vote
2answers
1k views

DNS (bind) : How do I redirect an http request to a different domain, based on the requested domain

I host my own DNS server and would like to be able to redirect links from within the DNS server so that redirection is seamless. Example: redirect all requests for www.yahoo.com to www.google.com. ...
2
votes
1answer
1k views

Apache - Should I use “ProxyPass …” or “RewriteRule … [P]” to proxy requests?

The apache documentation says that you can use mod_rewrite to do similar things to mod_proxy, by using the [P] option. Which should I use? Or is there no difference? Right now I'm using ProxyPass ...
13
votes
8answers
15k views

How to inject HTML code into every delivered HTML page?

I've got an Apache web server that delivers static HTML pages. For some reason I can't change the files themselves, but I still want to inject some HTML into every page that is being served. Is this ...
1
vote
3answers
8k views

Apache RewriteRule for proxying

I have a web application installed (ClockingIT) that acts based on the used subdomain. As we want to use SSL and do not have a wildcard certificate, this is not very convenient for us :-) So I thought ...