This presumes (I think) that the goal of the base_url[...] directives and Apache rewriting will be to hide the index.php part of the URL -- that is common but might not be the case. (There's also a defined string constant for index.php that you can use, IIRC.)