Mod_cfml is software which shares webserver configuration with Tomcat, eliminating the need to configure hosts (or websites) in Tomcat.
I am very proud to say that I had a major role in the current new release. I rewrote the Apache httpd component in native C, added new features, fixed bugs, and generally improved speed by a factor 5 to 10. That's at the moment when it's actually used by the way; on the first hit of a website after the server started up.
The Tomcat part is much improved:
- Speed: creating a new host context now takes 1 second at most (5 – 10 times faster then before), because jar scanning is now disabled by default.
- Speed: “waiting for context files”, the slow part of previous mod_cfml, is gone.
- Speed and memory footprint: only one Tomcat Host container is created per Apache/IIS virtualhost. All aliases / default site hosts / IP-based hosts, are now added as aliases. Which takes about 200 milliseconds.
- Thread safety bugs fixed
Apache connector improvements:
- The Apache 2.4 connector is rewritten in C. No more need to install Perl, just compile or drop in the mod_cfml.so file, and add a few lines of config!
- Full support for path_info. Previously, URLs like /some/page.cfm/id/123 would not work in Tomcat. With mod_cfml 1.1, now they do! Thanks to a great idea which was already implemented in the BonCode connector.
- Security: a shared secret key implementation is added, to prevent unauthorized context creation.
- Virtual directories, or “Aliases” in Apache, are now by default sent from Apache to Lucee, for the current request.
- Bilal Soylu added the same features in the IIS BonCode connector, which can be downloaded from http://tomcatiis.riaforge.org
So… what are you waiting for? Install! Upgrade! And have fun with CFML!
p.s. if you're interested, the source code can be found at https://github.com/utdream/mod_cfml| Viewed 2459 times