Hi all,
I want to introduce you one of the new features in which I have been
working for the next release..
The target was to clean up a little bit the syntax of the Request
entries. In 0.4.29 it works like:
=============
Request "^/dir1/.*/file$" {
Handler redir {
Rewrite "^/dir1/(.*)/file$" "http://example.com/$1"
}
}
=============
In the next release, it will support the previous configuration
entry and this new syntax which, in my opinion, makes much more
sense:
=============
Request "^/dir1/(.*)/file$" {
Handler redir {
Rewrite "http://example.com/$1"
}
}
=============
It is also slightly faster than the previous one (it needs to parse
one regular expression less).
Comments? Ideas? :-)
--
Greetings, alo.
http://www.alobbs.com
_______________________________________________
Cherokee mailing list
[email protected]
http://www.alobbs.com/cgi-bin/mailman/listinfo/cherokee