Follow up -
If only I had RTFM!
mod_rewrite documentation covers the voodoo required to extract values from the logical URI and pass them as parameters to your program.
Works a treat, but if you know a more elegant/efficient way to do REST dispatching, please let me know!
Cheers
George
Hi
I am writing a REST server but struggling to map the REST compliant logical URI to a physical URI.
All I have come up with so far is a RewriteRule directive in .htaccess which maps the logical URI to my handler cgi routine. This does the redirection ok, but I lose the query arguments...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.