![]() |
trying to remove index.php from url and getting 500 error - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived General Discussion (https://forum.codeigniter.com/forumdisplay.php?fid=21) +--- Thread: trying to remove index.php from url and getting 500 error (/showthread.php?tid=24474) |
trying to remove index.php from url and getting 500 error - El Forum - 11-10-2009 [eluser]matches[/eluser] Hi, I am trying to remove the index.php from the url and getting a 500 error. I have changed: Code: $config['index_page'] = "index.php"; To Code: $config['index_page'] = ""; and Code: $config['uri_protocol'] = "AUTO"; To Code: $config['uri_protocol'] = "REQUEST_URI"; and this is the content of my .htaccess file: Code: RewriteEngine on I am running this on kubuntu 9.4, php5 Thanks for any help! trying to remove index.php from url and getting 500 error - El Forum - 11-11-2009 [eluser]eoinmcg[/eluser] have you enable the mod_rewrite module? Code: sudo a2enmod rewrite also, have a look in /var/log/apache2/error.log to see what exactly is causing the 500 error trying to remove index.php from url and getting 500 error - El Forum - 11-11-2009 [eluser]matches[/eluser] brilliant! thank you! trying to remove index.php from url and getting 500 error - El Forum - 11-12-2009 [eluser]eoinmcg[/eluser] glad it worked. if you're curious about fine tuning your apache installation have a look at this article http://articles.slicehost.com/2008/4/28/ubuntu-hardy-apache-config-layout |