Update
Now requires the perl module YAML. Why? I moved to a new host and the Storable data was not byte compatible. YAML is a nice way to represent data structures in a portable, parsable and human readable way. It was a 4 line change and it made my life easier. It’ll make your easier as well. Ok, maybe not, but it works better this way, trust me:)
Download the 1.1 Version that requires YAML
There are about 4,353.32 Virtual Host tools for webmin so of course I had to write my own! What does mine do differently?
I use this to support ~100 virtual sites on a server and it has really freed up my time in a significant way. Mod_Vhost_Alias is highly recommended, its a nice way to have virtual sites created by simply creating a directory. When apache gets the request it checks for a directory using the hostname (www.crackcocaine.com for example). If it finds it then a vhost is dynamically created with that as the DocumentRoot.
Currently tested on Linux and FreeBSD with no issues, its just perl after all!
Read on for details
All you need to do to get this to work is :
UseCanonicalName Off VirtualDocumentRoot /path/to/your/vhosts/%0
LogFormat “%V %h %l %u %t ”%r” %>s %b ”%{Referer}i”" vhost_common
CustomLog /path/to/your/weblogs/VHOST_ACCESS vhost_common
ErrorLog /path/to/your/weblogs/VHOST_ERROR /path/to/your/vhosts/*>
AllowOverride All
Options All
You can install it directly from webmin from from this link : Virtual Host Manager
Any questions? Drop me an email or make a comment. Let me know if you use it, I am always curious!
Discussion
No comments for “Webmin Virtual Host Manager”
Post a comment