URL coming into Apache:
localhost:8888/game?level=0
URL that should be coming out of apache:
localhost:8888/level0/game
Could someone kindly help me to create this rewrite ?
Tried to solve it with following:
RewriteEngine On RewriteRule ^game\/+(.*?)\?+level=+([0-9]+) /level$2/$1 [L,QSA]
With no luck since it does not match.
Thanks, Peter
RewriteCond %{QUERY_STRING} .....to capture query string values, see wiki.apache.org/httpd/RewriteQueryString