Profile
Achievement

alexwilliams's Recent Snippets
- All /
« Prev 1 Next »
This line can be added to 'backend', 'frontend', 'listen' directives in the HAProxy config.
It will redirect all requests for /books/mysql to /books.php?title=mysql
0
1630
posted 15 years ago by alexwilliams
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)....
0
1028
posted 15 years ago by alexwilliams
How to send load-balanced requests to a web cluster and split the requests to different server pools based on specific ACL rules.
This configuration sends files ending with .php to a pool of "dynamic" web servers (running Apache).
It sends all...
0
777
posted 15 years ago by alexwilliams