Make lighttpd load vhosts live? -
My site connects people to their own vhost entries, which point to all the directories in the same directory, but PHP scripts are handled differently. The domain is stored in a MySQL table and when lighttpd starts, it is automatically loaded by running the Python script referenced in the lighttpd config file.
But obviously, when someone adds new vhost, then it works only manually Restart Lighttpd is there any way to check light pdide for new VHOTs, or have read them ?
I have thought of creating a script which periodically checks for new vhosts and when a change is detected lighttpd restarts, but it is probably a bad
It already has a module:
Comments
Post a Comment