Possible Duplicate:
How to redirect all requests to index.php and keep the other GET params?
Rerouting all php requests through index.php
Suppose we have /var/www/someapp/index.php
script. Now, how can we make Apache server send all of the requests for URLS like
http://somedomain.info/someapp/alpha
http://somedomain.info/someapp/beta
http://somedomain.info/someapp/beta/gamma
http://somedomain.info/someapp/epsilon/omega
...to that very index.php
script, and how can we retrieve the full path from inside that PHP script?