I get URL not found issue error using codeigniter in Ubuntu 14.04
Ok you first need to enable mod_rewrite
sudo a2enmod rewritesudo service apache2 restart
then open apache conf file
sudo gedit /etc/apache2/apache2.conf
uncomment this line if it is commented
AccessFileName .htaccess
you need to change AllowOverride to All - note my root is var/www/html yours might be just var/www
<Directory /var/www/html/>Options Indexes FollowSymLinksAllowOverride AllRequire all granted
Restart apache and that should do the trick
sudo service apache2 restart