Exemple de configuration du module Apache mod_vhost_alias :
Options FollowSymLinks
AllowOverride all
Allow from all
UseCanonicalName Off
LogFormat "%V %h %l %u %t \"%r\" %s %b" vcommon
CustomLog /var/log/apache2/access.vhosts.log vcommon
VirtualDocumentRoot /var/www/%0/www
VirtualScriptAlias /var/www/%0/cgi-bin
Documentation : http://httpd.apache.org/docs/2.0/mod/mod_vhost_alias.html