Apache vhosts mysql

by rullzer on Aug.23, 2006, under Linux, Programming things

Currently i’m working on a module for apache wich allows you to store all of you virtualhosts in a mysql database. Wich (I think) is really nice because it allow you to add/remove vhosts on the fly even in a simple php script. And you do not have to restart apache. Wich also is a good thing right?

Anyway setting the docroot and the serveradmin is working well now. Currently working on the .htaccess part. And when that is finished i need to fix the logs.. The only problem is that appaches mod_log is well let’s say is a little fucked up not well documented. You would think there is a function you can call wich and give that function the path to log to, the modfe it logs in and the request structure but no…. So ah well i’ll probably end up writing my own logging function for the CustomLog combined one. Will keep you posted!!!


4 Comments for this entry

Leave a Reply

Looking for something?

Use the form below to search the site:

Still not finding what you're looking for? Drop a comment on a post or contact us so we can take care of it!