mod_rewrite first time use [SOLVED]
Posted: Wed Feb 13, 2008 8:24 am
Hi,
I've never actually used mod_rewrite but am constantly being nudged towards it.
I have already looked at this site http://www.4webhelp.net/tutorials/misc/mod_rewrite.php for some general info - seems quite straightforward.
However, im not absolutely sure on a few things:
When a Rewriterule has been declared how do I get the data to display.
i.e.
if you currently use a method like: /index.php?mode=books&id=456 how do you "GET" $mode and $id from the url: /books/456/
Thanks.
I've never actually used mod_rewrite but am constantly being nudged towards it.
I have already looked at this site http://www.4webhelp.net/tutorials/misc/mod_rewrite.php for some general info - seems quite straightforward.
However, im not absolutely sure on a few things:
When a Rewriterule has been declared how do I get the data to display.
i.e.
if you currently use a method like: /index.php?mode=books&id=456 how do you "GET" $mode and $id from the url: /books/456/
Thanks.