Publishing Webmin trough Apache

After the basic installation, we can access to Webmin: https://yourserver:10000 (mini-server Webmin own SSL server). The target is to publish trough our Apache server in a own URL:

To do it we will use in the documentation, the less intrusive method.

We will add the Proxy modules in Apache (the server redirects other server contents, the proxy_http module to make a Http requests proxy, and the ssl module to make cache in https protocol (it joins the miniserver):

elite:~# cd /etc/apache2/mods-enabled/
elite:/etc/apache2/mods-enabled# ln -s ../mods-available/proxy.conf proxy.conf
elite:/etc/apache2/mods-enabled# ln -s ../mods-available/proxy.load proxy.load
elite:/etc/apache2/mods-enabled# ln -s ../mods-available/proxy_http.load proxy_http.load
elite:/etc/apache2/mods-enabled# ln -s ../mods-available/ssl.conf ssl.conf
elite:/etc/apache2/mods-enabled# ln -s ../mods-available/ssl.load ssl.load

Add the following directives to our Virtual Host in Apache (in /etc/apache2/sites-available/default):

<VirtualHost *>
        DocumentRoot /var/www/tuservidor
        ProxyRequests Off
        SSLProxyEngine On
        ProxyVia On
        <Proxy *>
                AddDefaultCharset off
                Order deny,allow
                Allow from all

        ProxyPass / https://localhost:10000/
        ProxyPassReverse / https://localhost:10000/
        ProxyPassReverseCookieDomain localhost:10000
        ProxyPassReverseCookiePath / /

In Webmin configuration (/etc/webmin/config) add:

In /etc/webmin/miniserv.conf delete the line session=1 to login without cookies (I think that Webmin use GET method instead of POST method, getting variables from URL instead of cookies).

Finally, in our DNS server we must reference the name. Add the record in the zone

webmin             IN      A

One thought on “Publishing Webmin trough Apache

  1. One of most of all cheap places to find Growth-flexV pro. The heihgt website is primitively simple. So far as auctions goes as many times a day. Usual truth is that time is as worthy as you ever thought. For the absolute result in behalf of the pro shoppers and dealers. Several difficult economic years, but then ideal time to buy items cheap. Many of the people do not usually discover the power of being tall. Little short sized guys have been picked upon for centuries and great benefits of Growth-FlexV pro system is absolutely needed. This trading system is made to help you. If you’re looking to grow taller or to automatically buy growing taller products. On occasion, get home in short panties and take time to watch the offers. Don’t piss off the man is started now!The article is telling the truth especially some of the standard elements. Young adult parents regularly need to evolve consciously knowing that they can carry out the education on people. Quick thinking will allow your progeny to be enduring less competition and stress will enduring the commitment to systematically work in your behalf free of charge or in behalf of the same name at the maximum rate. Growth-FlexV pro can really help young adults prosper and grow!

Leave a Reply

Your email address will not be published. Required fields are marked *