I built a web app in Codeigniter and want to deploy it on a server that will only be for internal use. I can access it by an ip address 55.555.555.555/app but it gives me codeigniter's default 404 page even though I have a custom coded 404 page. I checked to make sure my htaccess file is working by creating an error and it is being read. Currently I have the following code in my htaccess file next to my index.php.
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php/$1 [R]
</IfModule>
The server is running 14.04.1-Ubuntu not sure if that helps. Any help to point me in the right direction is much appreciated.