Profile
Achievement
alexwilliams's Recent SnippetsTagged apache
- 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
1523
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
942
posted 15 years ago by alexwilliams