Questions tagged [mod-proxy-html]

mod_proxy_html is an output filter to rewrite HTML links in a proxy situation, to ensure that links work for users outside the proxy. It serves the same purpose as Apache's ProxyPassReverse directive does for HTTP headers, and is an essential component of a reverse proxy.

32 questions
1
vote
0 answers

Apache mod_proxy_html and brotli compression

I'm using mod_proxy_html in a Reverse Proxying scenario. It has served me well for years. Now that the backend apparently has started to support Brotli compression it no longer works. My config looks like this: ServerName…
peterh
  • 18,404
  • 12
  • 87
  • 115
1
vote
1 answer

Subdomain map to sub directory

I have a web application which needs to have dynamic subdomain for each company. And the site has SSL too. I am using apache on Ubuntu VPS. What I did was I made virtualhost settings like below ServerName domain.com …
1
vote
0 answers

reverse proxy with SSL and url encoding, path change

environment http://etrafficcontrol.com/misc/proxy.png I have two applications. One is an e-commerce site (Drupal 7 running on LAMP) hosted on AWS, and the other is the checkout system which is ASP on IIS-6, is located inside our company, and…
Mudd
  • 31
  • 6
1
vote
1 answer

Apache's mod_proxy_html with PHP header("Location:..."); doesn't redirect

I've googled the crap out of this problem and came up with nothing, so hopefully you guys can help. Goal Configure a reverse proxy (using Apache's mod_proxy) to enable access to an internal PHP application over the internet using mod_proxy_html to…
tjbourke
  • 221
  • 1
  • 2
  • 8
1
vote
1 answer

Manipulating HTML using mod_proxy with Apache, e.g. to remove ads

For now this is just a technical challenge, but basically I would like to do the following: Create a webbased reverse (gateway) proxy using mod_proxy and mod_proxy_html that does not only rewrite HTML urls to match the proxy's hostname, but also…
Tom
  • 8,536
  • 31
  • 133
  • 232
1
vote
2 answers

mod_proxy_html configuration - truncation issues

I've looked around as much as I can, and I've hit the point where I'm completely stumped. I'm running a RedHat server with Apache on top, which I'm using as a proxy to sit between the outside world and two other application servers, with completely…
Pete
  • 68
  • 1
  • 6
0
votes
0 answers

Can I use Apache mod_rewrite to modify the response body?

Thats all basically. I have a reverse-proxy server and I have to be able to modify the response of my different virtual hosts. I have modify the content of the response with mod_substitute and with mod_proxy_html, but I want to know if is also…
0
votes
1 answer

How to create urls for .NET Core application in Apache virtual directory

ASP.NET Core application is created using Visual Studion 2019 ASP.NET Core Application project template. Its _layout.cshtml contains css file paths relative to application root directory:
Andrus
  • 26,339
  • 60
  • 204
  • 378
0
votes
1 answer

mod_proxy_html causes minor differences in CSS

I'm using mod_proxy_html to expose Redmine on Apache. There are minor differences in the CSS, which cause the font sizes to appear slightly bigger in the site after the reverse proxy. All the resources are loaded correctly in the network tab with…
0x5C91
  • 3,360
  • 3
  • 31
  • 46
0
votes
1 answer

From where can I download 64 bit libxml2.dll and mod_proxy_html.so files

After migrating IHS (IBM HTTP Server) 9.0.5.2 to new 64 bit windows server, the 2 modules (libxml2.dll and mod_proxy_html.so) are failing to load. These modules seems to be working fine on the older IHS 8.0 - 32 bit. Hence, I am looking for 64 bit…
0
votes
0 answers

mod_proxy_json or mod_proxy_hal+json

mod_proxy_html rewrites links in HTML pages. I would like to accomplish the same for JSON responses with HAL controls (links). Is anyone aware of such a module?
codesmith
  • 1,381
  • 3
  • 20
  • 42
0
votes
1 answer

How to configure mod_proxy_html with mod_proxy_balancer to resolve relative URLs

I'm trying to configure mod_proxy_html such that my pages can resolve relative URLs. Apache runs normally with my config, but relative URLs are not resolved. .conf file ServerAdmin webmaster@localhost ErrorLog…
0
votes
0 answers

Relative url done right with ProxyHTMLURLMap?

For example psweb1.example.com:8002/main/login/login.jsp needs to redirect to psweb1.example.com/demo1/main/login/login.jsp and psweb1.example.com:8002/content/* needs to direct to psweb1.example.com/demo1/content/* I cannot get the proper relative…
user3565410
  • 31
  • 1
  • 2
0
votes
1 answer

Apache proxypass and multilingual domains

I have a website on domain.com which has multilingual content in URLs e.g.: domain.com/en for english domain.com/de for german domain.com/it for italian etc. These are not really directories - these are just rewrites that rewrite to…
j99
  • 285
  • 2
  • 17
0
votes
0 answers

Why switching from mod_proxy_http to mod_jk prevents connection to Tomcat?

I have the HTTP Apache server that is connected to Tomcat either by mod_jk or mod_proxy_http. So far, the connection by mod_proxy_http works fine but the connection by mod_jk results in the not finding the path error, for example: The requested URL…
Alex
  • 7,007
  • 18
  • 69
  • 114