Darko Luketic wrote:

p.s.: does anyone know of a namebased virtualhosting module or
similar for apache2 that doesn't require a graceful apache2 restart?


I've used variations on this a long time ago. It worked fairly well.

http://httpd.apache.org/docs/1.3/mod/mod_vhost_alias.html

For simple name-based virtual hosts you might use the following directives in your server configuration file:

    UseCanonicalName    Off
    VirtualDocumentRoot /usr/local/apache/vhosts/%0

or if you'd like it all in Mysql

*  net-www/mod_vdbh
      Latest version available: 1.0.3-r1
      Latest version installed: [ Not Installed ]
      Size of files: 7 kB
      Homepage:      http://www.synthemesc.com/mod_vdbh/
Description: An Apache2 DSO for mass virtual hosting using a MySQL database
      License:       Apache-1.1

kashani
--
[email protected] mailing list

Reply via email to