Thursday, March 17, 2016

File-level mapping introduced in H2O version 2.0

As the developer of H2O, the lack of ability to define a mapping for a specific path (not a directory) has been one of the complaints I hear the most. Finally, we have a fix for the issue, and that is why the next release will be given the number 2.0.

Starting from H2O version 2.0.0beta-1, it is possible to write a configuration like the following. The example maps all requests to a FastCGI server, with the exception of /robots.txt and /favicon.ico being served statically.
      port: /tmp/fcgi.sock
      type: unix
    file.file: /path/to/robots.txt
    file.file: /path/to/favicon.png
Pretty straight forward, isn't it?

For details, please refer to the updated documentation of paths directive, or refer to the discussion in the pull request.


  1. Always so interesting to visit your site.What a great info, thank you for sharing. this will help me so much in my learning. free xbox live codes
    Thanks for sharing this post with us.

  2. The share your really gives us excitement. Thanks for your sharing. If you feel tired at work or study try to participate in our games to bring the most exciting feeling. Thank you!
    hotmail sign in | red ball 1

  3. Thanks for your information you shared. It's really helpful.
    * Street view

  4. Thank you for sharing the helpful mapping. I used it a lot.
    instagram viewer

  5. These days its utilization isn't just restricted to the standard store and withdrawal purposes yet in addition for payrolls, business advances and even bill installments. So what's a check getting the money for framework? Fundamentally, it is a sort of exchange in which clients can approach the administrations offered by the bank as a check issued and approved by the bank itself.
    Check Cashing


Note: Only a member of this blog may post a comment.