Alvaro Lopez Ortega wrote: > 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/ > > Alvaro:
Thanks for the reply. I saw the domain name configuration, in our embedded device we will have no domain name. It will just be an IP device. I will look in to launching two version and see if that is acceptable for our small foot print. Is this a limitation by design? Or if we were to patch it would it be useful for the group? Cheers, veets. _______________________________________________ Cherokee mailing list [email protected] http://lists.octality.com/listinfo/cherokee
