How to have requests to be handled by index.php
For instance
If I type SEFs in the browser
http://localhost/friends
http://localhost/me
Rewrites to
http://localhost/index.php/friends
http://localhost/index.php/me
So I could access friends or me from $_REQUEST[‘PATH_lNFO’]
I’ve mod rewrite on and allow all directive set for the root directory in apache.
Need a .htaccess file,
look in this article http://www.sitepoint.com/apache-mod_rewrite-examples/ for this RewriteRule ^/?([a-zA-Z_]+)/([a-zA-Z_]+)/([a-zA-Z_]+)$ display.php?country=$1&state=$2&city=$3 [L]
http://mathpdq.com/rtest/fred