Apache - Gateway (Reverse Proxy)

About

Management

Init

A reverse proxy is activated using:

  • the ProxyPass directive
  • or the [P] flag to the RewriteRule directive.

It is not necessary to turn ProxyRequests on in order to configure a reverse proxy.

P flag of the RewriteRule directive

The reverse proxy is configured with the rewrite mod and its P flag

Example: Rewrite of all URL to a OBI weblogic server With a Apache - Virtual Host (Vhost)

<VirtualHost *:80>
  ServerName bi.gerardnico.local
  
  RewriteEngine On
  # Rewrite everything 
  RewriteRule (.*) https://weblogic/analytics/$1 [P,L,QSA]
</VirtualHost>

Powered by ComboStrap