httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ray Jender" <>
Subject [users@httpd] mod_rewrite or reverse proxy?
Date Tue, 05 Jun 2018 20:12:17 GMT

So, I have an Ubuntu 16.04 server (host) with Apache 2.4.18

I have created 4 LXD containers on this server.

Each container has media server app installed.

I want to be able to access a container based on the input query.


So if I browse to http:// <http://"host> "host server"/LPC1,  I access
container 1.

If I browse to http://host server"/LPC2,   I access container 2.


Is this possible with mod_rewrite?


Note that the host and containers can ping each other's IP.


I want to be able to do something like this:


RewriteEngine on

Redirect "localhost/LPC1"  "rtmp://"


The host IP is DHCP (192.168.0.x) from my LAN and the container IP is DHCP
from LXD (10.x.x.x)



So, is container 1.  How can someone on the internet access
the container?


Hope I made sense with all this!





View raw message