Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Cherokee: users

Enhanced Virtual Hosting support

 

 

Cherokee users RSS feed   Index | Next | Previous | View Threaded


alvaro at gnu

Apr 5, 2009, 6:59 AM

Post #1 of 3 (784 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


aperez at skarcha

Apr 5, 2009, 8:51 AM

Post #2 of 3 (743 views)
Permalink
Re: Enhanced Virtual Hosting support [In reply to]

Hi!

On Sun, Apr 5, 2009 at 3:59 PM, Alvaro Lopez Ortega <alvaro [at] gnu> wrote:

> 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.
>
> It'd be pretty useful if you guys could give it a try and send me your
> feedback. :-)

Woww! Really great work!

I'll give it a try... Thanks Álvaro! ;)

--
Saludos:
Antonio Pérez
_______________________________________________
Cherokee mailing list
Cherokee [at] lists
http://lists.octality.com/listinfo/cherokee


taher at unixwars

Apr 6, 2009, 5:18 AM

Post #3 of 3 (722 views)
Permalink
Re: Enhanced Virtual Hosting support [In reply to]

Kudos Alvaro!
Really really nice job. I'm going to test this right away. Seems very
promising to me.
:)

Alvaro Lopez Ortega wrote:
> 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
>


--
taher [at] unixwars
http://unixwars.com/

_______________________________________________
Cherokee mailing list
Cherokee [at] lists
http://lists.octality.com/listinfo/cherokee

Cherokee users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.