On 19-feb-09, at 02:43, pak9 wrote:

> I am struggling with a configuration and hoping someone could point me
> in the right direction, or at least let me know if Cherokee can  
> handle it.
>
> default virtual server is port 80 and webroot of /var/www/htdocs
>
> I would like to add a second virtual server on port 8080 and have its
> webroot be /var/www/foo
>
> I can not seem to find a way to accomplish this in the cherokee- 
> admin ui..
>
> I am able to add a new port 8080 but when requested it just shows me  
> the
> webroot of /var/www/htdocs

That sort of configuration isn't supported. The server will listen to  
the ports you configure. When a request are accepted from any of them,  
it will be analyzed and the right virtual-server will be picked up  
based on the requested domain name.

If that's really what you want to do, I'd suggest you to launch two  
copies of Cherokee using independent configuration files.  Both  
cherokee and cherokee-admin supports the "-C" parameter for such  
purpose.

Good luck,
cheers!

--
Octality
http://www.octality.com/

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

Reply via email to