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

Proxy Exchange Server using mod_proxy

I'm having a problem getting my Exchange Server to work with mod_proxy. This is my current VirtualHost config: ServerName mail.example.com ServerAlias www.mail.example.com ProxyPass / …
noahp78
  • 161
  • 3
0
votes
1 answer

Custom Apache ErrorDocument with proxy balancer & RewriteEngine

I'm running into various problems trying to add custom ErrorDocuments to my server. I'm using proxy balancer to share the load between two instances of Zope and some simple rewrite rules to map my domain to the local zope instances. I'm pretty sure…
0
votes
2 answers

How can i configure mod_proxy to mask requests?

Maybe this is a noob question but usually I dont have to deal with that stuff. I just installed apache with mod_proxy and I want to use it as a forward http proxy. What i want to do is, if a request of a certain format is executed by a web client,…
Chris
  • 143
  • 1
  • 1
  • 8
0
votes
1 answer

Apache mod_proxy

Uggh, I'm spewing that I can't figure this out, I'm so frustrated: servername domain1.com.au ServerAdmin webmaster@localhost DocumentRoot /var/www/html ErrorLog ${APACHE_LOG_DIR}/error.log …
0
votes
1 answer

Proxy to sites that expect to be at root URL?

I have ActiveMQ and Accumulo running which each have their own web console. I'd like to put apache httpd in front of them. I setup mod_proxy and added the following to /etc/httpd/conf.d/proxy.conf ProxyPass /activemq…
codecraig
  • 387
  • 2
  • 4
  • 8
0
votes
2 answers

FreeBSD Apache 2.4 rewrite/proxy module errors

Just set up a FreeBSD jail to run httpd in it and all works good except these two, rewrite/proxy modules. These are error logs excerpts: mod_rewrite error: [rewrite:crit] [pid 43447] (13)Permission denied: AH00666: mod_rewrite: could not init…
dzhi
  • 800
  • 3
  • 10
  • 26
0
votes
1 answer

Possible to map a directory to another server (for independant Wordpress install)?

We have EC2 instances that I would like to not contain a wordpress install, and instead ideally map a folder to a different server, and run it under the same domain. For some reason, this is escaping me. My thoughts are to map that folder. I have…
Nick
  • 127
  • 6
0
votes
0 answers

Can you do a masked URL rewrite to a different protocol (in Apache)

Apache 2.2.15; I want to do: RewriteCond %{HTTP_HOST} site1.com RewriteRule (.*) https://site2.com [R=301,P,L] But that does not work. I put the P in there thinking it might allow the mod_proxy passthrough/URL masking, so that the site1.com URL…
usedTobeaMember
  • 616
  • 15
  • 25
0
votes
1 answer

apache2 reverse proxy 404 error

I have set up an apache2 server. I am trying to enable a site to reverse proxy in which I will redirect /registry to :5000. I have apache2 up and running and am able to reach the default page () but am having trouble getting my reverse proxy to…
catagon87
  • 163
  • 1
  • 7
0
votes
0 answers

Rewrite rule Mod_Proxy truncate file name

I search online for the solution, but nothing :(. I write this simple rule RewriteRule ^(.*)$ http://www.mysite.com/$1 [P,NE,QSA,L] In mysite.it i have an .htaccess with this rule and it's ok, but if i have a link "http://www.mysite.it/public/file…
0
votes
2 answers

rails app (via apache proxy) images from uploads directory missing

I am running Gitlab reverse-proxied through an Apache 2.2 server for my work group. Recently, we wanted to upload some group logos to use as project Avatars. The uploads all completed successfully (confirmed in a directory listing through SSH),…
Moshe Katz
  • 3,112
  • 5
  • 28
  • 43
0
votes
1 answer

apache reverse proxy 404 image error

I have some error with my apache reverse proxy. Currently I am doing reverse proxy to 4 websites. 1.1.1.1/a 1.1.1.2/b 1.1.1.3/c 1.1.1.4/d I am having no problem when reverse proxy to a and b website. Image are good and no problem. However, when…
ku1918
  • 43
  • 3
  • 8
0
votes
1 answer

How to access one background server (Webcit) from another server (Apache) within private network?

I try to access a running Webcit (needed by Citadel mailserver) by Apache's ProxyPass directive. This should only be possible within a private network while using port 2000. My ideas is to deny from all but allow only from 10.8 network (that's my…
Bevor
  • 113
  • 2
  • 11
0
votes
1 answer

apache2 reverse proxy broken after modsecurity is installed ubuntu on 12.04.1

this is the first time I have run into issue like this one. I have a java application setting behind a apache2 using mod_ajp on 8009. I have noticed that I could not get the client's IP so I have created another virtual host file and switched to…
black sensei
  • 609
  • 3
  • 10
  • 25
0
votes
1 answer

Reverse proxy without URL Rewriting

I have been asked to setup a reverse proxy but one of the requirements is that no URL Rewriting be performed. I'm trying to wrap my head around this since to me it seems that without rewriting the urls in the pages and the headers returned by proxy…
Phyx
  • 111
  • 4