I am trying to achieve what is described under:
Webmin In A Sub-Directory Via A Proxy
on this website
...but, with more than one webmin (all on different servers, but proxied thru the main server), arranged into folders, like:
- www.example.com/webmin1
- www.example.com/webmin2
and so on and so forth.
With one webmin, using a file I created called "webmin.conf" under the "/etc/apache2/conf.d" folder, I have the following code:
ProxyPass /webmin1/ http://internalip:10000/
ProxyPassReverse /webmin1/ http://internalip:10000/
ProxyPass /webmin2/ http://internalip2:10000/
ProxyPassReverse /webmin2/ http://internalip2:10000/
<Proxy *>
allow from all
</Proxy>
This only works with either one of these enabled, but not both.
Please, I'd like some insights. I am a beginner at proxypass, and directives - only 16 years old, trying to figure this stuff out.
Thanks for any and all help!