I am using the basic install of CodeIgniter. We have a directory structure of:
website/application
website/system
website/public/index.php
website/index.php
What we want to do is direct all traffic from website/index.php to website/public/index.php, but we still need / to be accessible.
If you place a .htaccess with the following content in your webroot you should achieve what you want: