Hello, I am using webmin pannel as a way to administer my box and works really good. I am able to access it great from any external IP out side of the home network but not able to from work. I assume it has to do with the firewall that we have here.
So what I am trying to do is to use webmin as a subdomain on port 80 like any other website that I have on my box uses.
I found a site from google that explains how to do this but I get an error when restarting apache. I dont have very much experiance with apache to know what this is refering to.
Here is the steps that i took.
$ sudo a2enmod proxy
Create a configuration file at /etc/apache2/sites-available/webmin and paste the following code in:
<IfModule mod_proxy.c><VirtualHost *:80>
# Don't forget to customise the following line to your actual subdomain: ServerName webmin.example.com
# The following URLs are for your Webmin server. If Webmin is on a different machine, change these: ProxyPass /
http://localhost:10000/ ProxyPassReverse /
http://localhost:10000/ <Proxy *> Order Allow,Deny Allow from all </Proxy></VirtualHost></IfModule>
Then, enable the Virtual Host configuration you have just created:
$ sudo a2ensite webmin
Now restart Apache:
$ sudo invoke-rc.d apache2 restart Now when I go to restart the apache server I get this error message.brent@kcpcrepair:~$ sudo invoke-rc.d apache2 restart
[sudo] password for brent:
* Restarting web server apache2 [Thu Jun 10 12:54:06 2010] [error] VirtualHost *:80 -- mixing * ports and non-* ports with a NameVirtualHost address is not supported, proceeding with undefined results
... waiting [Thu Jun 10 12:54:07 2010] [error] VirtualHost *:80 -- mixing * ports and non-* ports with a NameVirtualHost address is not supported, proceeding with undefined results
Bookmarks