0
votes
0answers
20 views

Move query string to path in proxy - Apache

I am setting up Apache to proxy files from Amazon S3. The initial urls have query strings, but query strings can't be passed to S3, so they are stored as paths with question marks in them (which then ...
1
vote
1answer
31 views

Apache Proxy and Rewrite Rule for Proxy

I set up my Apache server as a proxy for a local server listening on port 8080. It works no matter if I specify a valid proxy or not. Both configurations work. Configuration 1: <Proxy ...
1
vote
1answer
72 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
162 views

Conditional reverse proxy in apache

I'm using Apache 2.2.25 as a reverse proxy for two diferent servers, using two diferent URLs. So basically the URL http://www.mydomain.com/path1 will be reversed-proxied to server1 (weblogic) ...
0
votes
2answers
754 views

ProxyPass for specific vhost with mod_rewrite

I have a web server that it set up to dynamically server different document roots for different domains <VirtualHost *:80> <IfModule mod_rewrite.c> # Stage sites :: ...
0
votes
2answers
55 views

Apache Proxy to show another Website

I need to proxy the URL http://de.domain.com/article1/foobar/ to http://de.foobar.domain.com/article1/. How can I do this within getting and setting the subdomain language part? Examples: ...
1
vote
1answer
151 views

Apache as a proxy fowarder to dynamic IP

I've looking aroung the web, but I can't figure out how to do what I'm looking for. So what I'm looking for is a proxy on which will foward the HTTP query based on the IP address I've put in the url ...
0
votes
1answer
42 views

relative links to third party proxied domain still point to old domain

I have a proxy rule pointing www.example.com/support to our third party support site (www.support.example.com/support). Looking at the page source, the links are all relative example: <a ...
1
vote
1answer
552 views

How to block all incoming proxy visits except from one specific I.P?

I have a page that is prone to attacks, so, in order to reduce the anonymous attacks, I use this code in my .htaccess which I found online : # BLOCK PROXY VISITS <IfModule mod_rewrite.c> ...
-1
votes
1answer
121 views

Lighttpd rewite url from specific client when using proxy

I need to send all CGI request to another server so I decided to use it with proxy. The problem is that I need to send the client IP to the server so I did the following configuration: $HTTP["url"] ...
2
votes
2answers
2k views

Apache Rewrite or Proxy to internal server

First off, this is my first go at apache, so please forgive my beginingingismness :) My basic setup is as such: mysub.domain.com gets sent to my static IP via a CNAME entry at godaddy's DNS manager. ...
2
votes
0answers
500 views

setting up mod_proxy - plesk, apache, .htaccess?

I want to set up mod_proxy to work so that my blog is running under a subdirectory of my site rather than subdomain so i get the seo backlink benefit. What im looking to do is get my tumblr blog ...
0
votes
0answers
84 views

How can I get apache to stop logging header errors?

I may have this set up in a weird/bad way, but the idea I'm going for is to take wildcard subdomains and seamlessly convert them to a different URL behind the scenes that my app understands. My ...
2
votes
1answer
708 views

apache - mod_rewrite + mod_proxy working in staging, not working in production ( [P] option ignored )

I have set up a redirect in my Apache virtual host serving several subdomains - call them a.example.com and b.example.com - serving a ruby on rails app. On my virtualhost config file I have this ...
1
vote
1answer
431 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, ...
0
votes
2answers
187 views

Rewrite/Proxy silently to a non-secure domain

Is there some way to silently, internally, redirect all pages to another server? I have a site on Site5's server "huckleberry". I can reach the page - with a SSL certificate - via the path to their ...
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 ...
0
votes
1answer
338 views

Apache rewrite with intermediate proxy server (with authentication)

Using Apache 2.2, I'd like to access an external server (reachable through the Internet) from one of my internal servers. The URLs will be rewritten to change the host so I'll either use mod_rewrite ...
1
vote
2answers
600 views

Is it possible to add a random variable to the querystring using mod-rewrite?

We're having a very odd problem with a proxy that a client uses. In short, their proxy is caching information that it should not be caching. We have the appropriate information in the header that ...
3
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 ...