On 25/11/2010, at 00:19, Julian Pietron wrote:

> for one of my webservices it is required that under the same hostname
> several webservices are available, discriminated by port (e.g., one
> webservice on the default :80, the other one on :4040). Is there a way
> to match a virtual server not by hostname but by port instead, or do I
> indeed have to run two instances of cherokee to achieve this behaviour?
> If so, are there any plans to change that in future releases? I'd
> consider that a quite useful feature.

You have to use a "Incoming IP/Port" rule in your virtual server in order to 
filter that traffic.  In case you needed more than a single rule to configure 
your service, you'd have to use rules like this:

  (Incoming IP/Port: ALL:4040) AND (Directory: /example)
  (Incoming IP/Port: ALL:4040) AND (RegEx: /example/.*\.foo)

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

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

Reply via email to