# Webmin Apache Proxy - incorrect prefix

**URL:** <https://forum.virtualmin.com/t/webmin-apache-proxy-incorrect-prefix/51201>\
**Category:** Virtualmin\
**Created:** [May 23, 2015, 3:05pm UTC](https://forum.virtualmin.com/t/webmin-apache-proxy-incorrect-prefix/51201 "2015-05-23T15:05:49Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![md2017](https://cdn.forum.virtualmin.com/letter_avatar_proxy/v4/letter/m/ecccb3/32.png) [@md2017](https://forum.virtualmin.com/u/md2017)\
**Post date:** [May 23, 2015, 3:05pm UTC](https://forum.virtualmin.com/t/webmin-apache-proxy-incorrect-prefix/51201/1 "2015-05-23T15:05:49Z")

</div>

I’ve got https:// proxying nicely set up so I can access the webmin side of virtualmin via [https://mydomain.com/vmin](https://mydomain.com/vmin)

Basically added:

SSLProxyEngine On  
ProxyPass /vmin [http://localhost:10000/](http://localhost:10000/)  
ProxyPassReverse /vmin [http://localhost:10000/](http://localhost:10000/)

to the :443 bit of the [mydomain.com](http://mydomain.com)’s apache conf and followed the “Webmin In A Virtual Host Via A Proxy” bit of [http://www.webmin.com/apache.html](http://www.webmin.com/apache.html).

The Webmin side works fine, but the url prefix is repeated on the Virtualmin side. That is, I see  
[https://mydomain.dom/vmin/vmin/virtual-server/usage.cgi?dom=129413456529631&](https://mydomain.dom/vmin/vmin/virtual-server/usage.cgi?dom=129413456529631&)  
instead of  
[https://mydomain.dom/vmin/virtual-server/usage.cgi?dom=129413456529631&](https://mydomain.dom/vmin/virtual-server/usage.cgi?dom=129413456529631&)

Is there a equivalent config to /etc/webmin/config for Virtuamin, with something like the

webprefix=/vmin  
webprefixnoredir=1

… which appears in that file?

Thanks

Nick

---

<div class="post-metadata">

**Author:** ![vsid](https://cdn.forum.virtualmin.com/letter_avatar_proxy/v4/letter/v/e68b1a/32.png) [@vsid](https://forum.virtualmin.com/u/vsid)\
**Post date:** [July 26, 2015, 8:52am UTC](https://forum.virtualmin.com/t/webmin-apache-proxy-incorrect-prefix/51201/2 "2015-07-26T08:52:56Z")

</div>

Any updates? Been running into the same issue for a while and still haven’t found a solution.

---

<div class="post-metadata">

**Author:** ![system](https://cdn.forum.virtualmin.com/uploads/default/original/2X/c/cd96d761e326db4b2bef94886a639109bd7a8e76.svg) [@system](https://forum.virtualmin.com/u/system)\
**Post date:** [April 30, 2020, 6:03am UTC](https://forum.virtualmin.com/t/webmin-apache-proxy-incorrect-prefix/51201/3 "2020-04-30T06:03:28Z")

</div>

Closed on April 30, 2020, 6:03am UTC


