HAProxy URL Rewriting


/ Published in: Apache
Save to your folder(s)

In this example:

*rewrite urls from domain.com to www.domain.com*

This is somewhat documented elsewhere, but not very well, so here's an example on how to perform simple URL rewriting with HAProxy (instead of using mod_rewrite with apache).

This works great if your servers use lighttpd, nginx, or anything that doesnt provide its own simple url rewriting.

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.