Loading ...
Sorry, an error occurred while loading the content.

2753Re: [rest-discuss] POSTING to a URI that contains a query string ?

Expand Messages
  • Vincent D Murphy
    Oct 11, 2002
      here's my .htaccess.

      RewriteEngine on
      RewriteBase /foo
      RewriteRule ^contributors$ contributors/ [R=permanent]
      RewriteRule ^contributors/$ cgi/contributors/index.pl.cgi
      RewriteRule ^contributors/([0-9]+)[/]?$

      RewriteBase sets the 'root' of your URL. it could be just slash /, but
      i used /foo because there are other things living on the root of the
      same httpd.

      overall i found mod_rewrite to be a total pain in the ass (it took me a
      whole day to come up with these simple rules) but i'm of the opinion
      that it was worth it.
    • Show all 8 messages in this topic