Skip to main content

silva.app.forest

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 site, 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]
</VirtualHost>

Credits

Thanks to WUW for sponsoring this extension.

Code repository

You can find the code of this extension in Git: https://github.com/silvacms/silva.app.forest

Changes

3.0.1 (2013/03/06)

  • Add an interface IForestRequest on the request when the extension is used. Bind all feature to this new request.

  • Implement the new top level methods of IVirtualHost to return information based the highest rule available for an virtual url.

3.0 (2012/12/11)

  • Add events upon activation/deactivation, in order to be able to extend the forest functionality in an extension.

3.0c1 (2012/90/24)

  • Initial release.

Metadata

Release files for silva.app.forest 3.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for silva.app.forest 3.0.1
File Size Uploaded
silva.app.forest-3.0.1.tar.gz 18.5 kB Details

Release files / silva.app.forest-3.0.1.tar.gz

Download URL silva.app.forest-3.0.1.tar.gz
Size 18.5 kB
Tags Source
SHA-256 checksum
How to use checksums
8dfee117f4ad5503f3a8749266760fd3f4932a132d7747b5a7c017fc22d3af6b
BLAKE2b-256 checksum
How to use checksums
455c2d96dcd7dfeb8c927c3ec97c1c27fe3b9c8ffda32ebf3000f4a9fed441c0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

3.0.1 This release

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page