[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: apache with VirtualHosts's stored in MySQL database



Mark Bucciarelli wrote:
On Tue, Jan 03, 2006 at 02:21:34PM -0800, jack wrote:


Does anyone know of any good ways of storing large amounts of VirtualHosts in a mysql database?


Are you tied to Apache?  If not, lighttpd has mod_mysql_vhost.

http://www.lighttpd.net/documentation/mysqlvhost.html

Get's the appropriate document root from the MySql datatbase.

m



Thank you all for your responses..

I found mod_vhost_mysql which *kinda* does what I'm looking for

http://modules.apache.org/search?id=722

it only seems to support the ServerName and DocumentRoot directives, which isn't enough to cut it. I need to have more control of directory options, rewrite rules, log options, etc etc etc..

DTC i've been tempted to look into for a while now, so yes I may give that a shot in the near future.

I am tied to apache unfortunately because I use coldfusion server (which i dont believe is compatible with lighthttpd, but correct me if i'm wrong).

I've emailed the person responsible for mod_vhost_mysql regarding a more 'advanced' version in the near future, but havne't heard anything back yet.

If any of you know how we could modify mod_vhost_mysql to do what we'd need, or know of any good alternative please let us know.






Reply to: