In order to use gwan as a web hosting server, how to add/stop/delete a vhost without restarting the whole gwan server?
thanks
In order to use gwan as a web hosting server, how to add/stop/delete a vhost without restarting the whole gwan server?
thanks
In productions mode (with the daemon mode enabled with -d
), force the child to reload the configuration with a simple exit(0);
executed from a G-WAN script.
Since G-WAN closes connections gracefully (not loosing HTTP requests), the new child will start with the new settings.