Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Httpd Wiki" for change 
notification.

The "RewriteQueryString" page has been changed by Greg Martin:
http://wiki.apache.org/httpd/RewriteQueryString?action=diff&rev1=17&rev2=18

  RewriteRule ^/path /path/%1/%2?
  }}}
  === Making the Path Part of the Query String ===
- Essentially the reverse of the above recipe. But this example, on the other 
hand, will work for any valid three level URL. 
{{{http://example.com/path/var/val}}} will be transformed into 
{{{http://example.com/path?var=val}}}.
+ Take a URL of the form {{{http://example.com/path/var/val}}} and transform it 
into a var=val query {{{http://example.com/path?var=val}}}. Essentially the 
reverse of the above recipe. This example will work for any valid three level 
URL. {{{http://example.com/path/var/val}}} will be transformed into 
{{{http://example.com/path?var=val}}}.
  
  {{{
  RewriteRule ^/path/([^/]+)/([^/]+) /path?$1=$2

---------------------------------------------------------------------
To unsubscribe, e-mail: docs-unsubscr...@httpd.apache.org
For additional commands, e-mail: docs-h...@httpd.apache.org

Reply via email to