Hey everybody,
Probably someone has already asked this question but I'm not sure what I'm looking for.
I've seen a couple of applications in PHP that are doing this kind of url rewriting "http://site.com/index.php/myaction/avariable"
I've done a similar thing with mod_rewrite where you'd have almost the same link "http://site.com/whateveryouwant/myaction/avariable" that would redirect to the original page - http://site.com/index.php?action=myaction&variable=avariable (just an example)
What exactly is the difference ? I suspect that the first thing is done via PHP but I'm not sure how.
An example of what I'm talking about could also be the framework Symfony 2.0.
Any suggestions would be welcome.
Sorry if this is a duplicating question... I just don't know what I'm looking for. :|
Thanks in advance, Me