On 11-nov-08, at 16:29, Johnny Robeson wrote:

> it works nicely so far, luckily i don't need the url rewriting quite  
> yet

The code has just landed in the repository. The r2373 does support URL  
rewriting.
Here you have a configuration example, so you can use it while we  
write the cherokee-admin module (hopefully it'll be ready today as  
well):

----
server!port = 1234

vserver!1!nick = default
vserver!1!document_root = /tmp
vserver!1!rule!1!match = default
vserver!1!rule!1!handler = proxy
vserver!1!rule!1!handler!header_hide!1 = server
vserver!1!rule!1!handler!balancer = round_robin
vserver!1!rule!1!handler!balancer!source!1 = 1

vserver!1!rule!1!handler!rewrite_request!1!regex = ^/(.+).png$
vserver!1!rule!1!handler!rewrite_request!1!substring = /$1.jpg
vserver!1!rule!1!handler!rewrite_request!2!regex = ^/test/(.+)$
vserver!1!rule!1!handler!rewrite_request!2!substring = /test.php?$1

source!1!type = host
source!1!host = localhost:9090
----

As I said, please, do not hesitate to report any issue you may find. :-)

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

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

Reply via email to