CodeIgniter Forums
Amazon EC2 Server can't output from Controller - 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: Amazon EC2 Server can't output from Controller (/showthread.php?tid=57426)



Amazon EC2 Server can't output from Controller - El Forum - 03-13-2013

[eluser]albertleao[/eluser]
Hello all. I recently moved to Amazon and ever since I haven't been able to output anything directly from the controller.

Anytime i use print_r or echo from a controller i get a server 500 and I have no idea why.

Any ideas?


Amazon EC2 Server can't output from Controller - El Forum - 03-14-2013

[eluser]TheFuzzy0ne[/eluser]
They have Internet in the Amazon? Cooool! (Just kidding).

A 500 error is usually something to do with your .htaccess file. Perhaps you have compression enabled from within your .htaccess file, I'm not sure. It might help if you could post the contents of your .htaccess file.