I\'m running a LAMP environment with CodeIgniter. I want to be able to use its URL pattern, like, http://localhost/controller/function/ID
, but by default it has
Put that at the document root of your Web site.
If you have multiple sites, put it at the top of each such site.
If you have multiple sites running from the same directory, you can use a RewriteCond to exclude or include particular sites to the rewrite rule.
You can exclude certain directories (eg /articles) the same way.