Home Linux & Systems Cybersecurity Cloud & DevOps Networks & Infrastructure SIEM & Monitoring DFIR & Threat Intel Development & Other All categories Projects About Tools

Reverse Proxy – External URL Redirection in Apache 2.4

Leer en espanol
Reverse Proxy – External URL Redirection in Apache 2.4

Table of contents

text#We define the names ServerAdmin red-orbita.com ServerName red-orbita.com ===

In this article we explain how to perform a redirect to an external address using ProxyPass in Apache 2.4

text
#Defimimos los nombres
ServerAdmin red-orbita.com

ServerName red-orbita.com

ServerAlias red-orbita.com
#Activamos Rewrite y Proxy
RewriteEngine on

ProxyRequests on

ProxyPreserveHost on
#Realzizamos la reccion
ProxyPass / https://10.140.7.31:9443/

ProxyPassReverse / https://10.140.7.31:9443/

RewriteRule ^/$ /PortalWeb/$1 [R=301,NC,L]

All the best

:wq!

Comments