From: Sorin S. <ss...@si...> - 2002-12-17 10:15:29
|
Hi Jeppe, Yes, I used a similar config. But the webprefix was missing so that I could get back to the server... Thanks very much for your email. Best regards, Sorin On Tue, 17 Dec 2002 10:35:37 +0100 "Jeppe Uhd" <ar...@nx...> wrote: > Jamie Cameron uttered: > > Sorin Suciu wrote: > > > Hi, > > > Is there any was I can proxy the access to webmin using apache > mod_proxy? > > > It fails if I just proxy <IP>/webmin/ to <Internal IP>:10000 > > > Does anyone have any ideea about how to do this? > > > > This can be done .. you just need to add directives like > > > > ProxyPass /webmin/ http://internalip:10000/ > > ProxyPassReverse http://internalip:10000/ /webmin/ > > > > to your apache config. Then on the internal webmin server, change to > > the default theme, and add the line webprefix=/webmin to > /etc/webmin/config . > > From now on, you must go through apache to access it though. > > > > My apache config looks like this (no special conf in webmin besides a > special port). It works directly _and_ through apache > > Though notice that this config requires virtual hosting enabled in apache... > > <VirtualHost *:443> > DocumentRoot /usr/local/www/data > ServerName webmin.nx.dk > SSLEngine on > SSLCertificateFile /usr/local/etc/apache/ssl.crt/nx.cert.cert > SSLCertificateKeyFile /usr/local/etc/apache/ssl.key/nx.cert.key > ProxyRequests on > ProxyPass / https://webmin.nx.dk:70/ > ProxyPassReverse / https://webmin.nx.dk:70/ > ErrorLog /home/apachelogs/webmin.error.log > CustomLog /home/apachelogs/webmin.access.log combined > </VirtualHost> > > /Jeppe Uhd - NX > > > > ------------------------------------------------------- > This sf.net email is sponsored by: > With Great Power, Comes Great Responsibility > Learn to use your power at OSDN's High Performance Computing Channel > http://hpc.devchannel.org/ > - > Forwarded by the Webmin development list at web...@we... > To remove yourself from this list, go to > http://lists.sourceforge.net/lists/listinfo/webadmin-devel |