Apache url rewrite problem
- by Ankit
requests  -----  should be written to new url
/institute/dps   -----  /institute.php?slug=dps
/institute/abc   -----  /institute.php?slug=abc
/institute/123   -----  /institute.php?slug=123
I am using following rule in .htaccess
RewriteRule ^institute/(.*)$ /institute.php?slug=$1
However, it's not working.  the page insitute.php get's execution, but the query string always comes empty.
Any suggestions?