
alvaro at gnu
Apr 5, 2009, 6:59 AM
Post #1 of 3
(764 views)
Permalink
|
|
Enhanced Virtual Hosting support
|
|
Hello fellows, I have just committed a new plug-in implementing "Enhanced Virtual Hosting". It's a module that allows to build the Document Root of a virtual server based on the "Host" being requested. This new plug-in basically allows to share the same virtual server configuration among a number of different host names, even if they use different document root directories. Once enabled, the dynamic document root can be defined by using the following set of variables: ${domain} - Full domain name Eg: "example.com" in "example.com" ${tld} - The top level domain part Eg: "com" in "example.com" ${domain_no_tld} - Domain without the TLD Eg: "example" in "example.com" ${subdomain1} - First sub-domain of the domain Eg: "www" in "www.example.com" ${subdomain2} - Second sub-domain Eg: "root" in "root.ftp.example.com" It's available since r3067. It's configured from cherokee-admin: Virtual Server -> <X> -> "Basics" tab -> "Advanced Virtual Hosting" section It'd be pretty useful if you guys could give it a try and send me your feedback. :-) Cheers! -- Greetings, alo http://www.alobbs.com/ _______________________________________________ Cherokee mailing list Cherokee [at] lists http://lists.octality.com/listinfo/cherokee
|