Xibo in apache Reverse Proxy

Hello everyone:

In this forum, I have found some post to tell how I could set the xibo application with Reverse proxy. But I want to set in a specific path.
For example:
The xibo docs always explain to set in root path / .
I want this.
https:www.someuri.com/xibo http:// xx. xx.xx. xx:80
My proxypass config is:
Proxypass /xibo “http: // xx. xx.xx.xx/”
ProxypassReverse /xibo “http://xx.xx.xx.xx/

but in this case, it does not work!!

Can someone help me? please

You need to first setup Xibo inside the container to listen for requests to /xibo.

You do that in config.env

Once you’ve done so, you’ll need to recreate the containers to apply the change.

Once Xibo is listening for it, then your reverse proxy lines become:

    ProxyPreserveHost On

    ProxyPass /xibo http://xx.xx.xx.xx:80/xibo/
    ProxyPassReverse /xibo http://xx.xx.xx.xx:80/xibo/

Thank you very much.

I will try your instrucctions and I will comment with result.

To make the first step:
I should modify the file /var/www/cms/web/.htaccess and uncomment this line
#RewriteBase /xibo

No.

If you’re using Docker, then you only need to edit config.env and change the line

#CMS_ALIAS=/xibo

to

CMS_ALIAS=/xibo

then recreate the containers (down/up).

You don’t need to change anything inside the container manually.

it wasn’t necessary docker-compose, I have downloaded source code from github and I have built a new image with the following modifications.

I have modified /etc/apache2/conf.d/cms.conf and /var/www/cms/web/.htaccess
it works!!

Thanks you very much.
Best regard.

Why would you do that? The image already caters for making those two changes just by passing in the correct environment variables?