Looking under the hood? Interested in a job? Send a mail....


This extension provides you with the possibility to define advanced virtual hosting strategies within Silva.

To use this extension, you must add it to your Silva instance, and activate it in service_extension. After, you will have a Silva service available in ZMI, service_forest where you can define virtual host, and rewrite rules inside each one.

To enable the extension you must click on activate in the service_forest.

To trigger a virtual host, you must set the HTTP header X-VHM-Url inside your HTTP request to Silva.

This is done like this in Apache, for instance:

 <VirtualHost *:80>
   ServerName demo30.silvacms.org

   RequestHeader set X-VHM-URL http://demo30.silvacms.org
   RewriteEngine On
   RewriteRule ^/(.*)$ http://localhost:7778/$1 [P]


Thanks to WUW for sponsoring this extension.

Code repository

You can find the code of this extension in Mercurial: https://hg.infrae.com/silva.app.forest/.

Available releases

Release version Release date Release files
silva.app.forest 3.0.1 2013 3 6 16:55:59 silva.app.forest-3.0.1.tar.gz
silva.app.forest 3.0 2012 12 11 15:33:49 silva.app.forest-3.0.tar.gz
silva.app.forest 3.0c1 2012 9 25 15:47:32 silva.app.forest-3.0c1.tar.gz

License: New BSD