In the past, I've playing with the idea of using an SQL database to store parts of the configuration, so one can add, change or remove website configurations without restarting the webserver. Recently, someone also asked about this in a forum post. This opion might also be usefull for people who own a lot of webservers.
There are of course many ways to implement this. A separate configuration for each webserver, multiple webservers using one and the same configuration, temporarily caching of configuration for improved speed, etc. What I'm looking for is people who have experience at maintaining large clusters of webservers who are willing to share their thoughts on this with me.
I started a poll to see how many people are actually interested in this feature. Hiawatha is not used by many people and this feature will require quite some work to implement. Of course, I won't go through all this trouble if not many people are interested in it.
A centralized MySQLbased config would be really awesome,
and another big reason for switching to hiawatha.
@Alexander: Can you tell me what you really need in maintaining many webservers. What configuration changes are needed? Only adding / removing virtual hosts? Changes in virtual hosts? Adding support for MySQL is a big change and I really want to avoid it of not really need. Can you assist me in brainstorming about what is needed? What if for example I add a feature to only add new virtual hosts. And many remove virtual hosts. Will that work too?
1) support both standard text or database configs
2) support for multiple database server types - sqlite, postgresql, mysql, etc... perhaps some nosql types
3) support remote database servers - for high availability environments
Even if I manage a significant number of vhosts, nobody cares.
But I think that a database driven configuration would be a boost
to switch from Apache to Hiawatha because would be easier to
write down a configurator and try to fill the gap that
do not permit to have a wider base of "normal" users expecting
a "standard" LAMP server for their Wordpress, Joomla or so.
Only my 2 cents.
Cheers,
Andrew
Admittedly this isn't an everyday problem for most people - on my own servers (where I run Hiawatha) I routinely retart the server if needed.
Cheers,
Andrew
There was a poll about Hiawatha usage. Hobby or personal website was 44%. That is the user's answer to your question. I didn't vote, but I'm one of those 44% and I don't need or want SQL configuration.
But this is your program, your creation. If you want to change it's main category of users, feel free to do it. It's what you think that matters in the end.
One other choice would be to fork it and mentain two branches: one for home users and one for corporate use.
Marius'95
How do I vote? For me it'll be a life chamging feature
Just wondering if you mafe a decision if you will implement this feature or not?
The way I go around it at the moment is that I have 1 webserver per domain behind hiawatha proxy...
I only need to restart the proxy one and if I made further change to the domain, i can restart again and agin whithout affecting other domain.
I achieve this using FreeBSD jail
Please post an update