Return to Snippet

Revision: 16832
at August 17, 2009 15:08 by alexwilliams


Initial Code
reqirep ^([^\ ]*)\ /books/(.*)    \1\ /books.php?title=\2

Initial URL

                                

Initial Description
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

Initial Title
HAProxy URL Rewriting with query strings (ugly URLs)

Initial Tags
url, apache, query

Initial Language
Apache