500 Internal server error when clicking links - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23) +--- Thread: 500 Internal server error when clicking links (/showthread.php?tid=40270) |
500 Internal server error when clicking links - El Forum - 04-06-2011 [eluser]d1a8lo24[/eluser] Don't know if you have fix your problem but see if this helps. I know that there are a lot of .htaccess files out there but many standard hosting companies have the same setup and most of the time the following code will work try and see if it works. Code: <IfModule mod_rewrite.c> I have been able to deploy my apps on godaddy and other hosting companies without any problems. I hope it helps. 500 Internal server error when clicking links - El Forum - 04-06-2011 [eluser]InsiteFX[/eluser] Try this. Place this code in your index.php file. Code: // by Phil Sturgeon InsiteFX 500 Internal server error when clicking links - El Forum - 04-06-2011 [eluser]keld[/eluser] @d1a8lo24: IT's WOOORKIIIING!!!! I feel like crying haha Thanks so much! I'm gonna make 10 copies of this .htaccess file in case I lose it I think what makes it work is <IfModule mod_rewrite.c> @InsiteFX: I didn't use your code since it is working now, but I'll keep it in mind in case I run into some troubles. Where would I put it, at the bottom of the file before it loads the bootstrap file? Thanks so much guys, case closed |