I've setup my laravel website at ec2 with Apache Http Server. I'm able to view the home page, but other than home page it just showing blank page with internal error (500). It work fine is my local machine.
I've change the httpd.conf document root to "/var/www/html/mywebsite/public" and change all the AllowOverride to All But it's still showing blank page with internal error (500) for other route.
i've added virtual host as below, still no luck.
<VirtualHost *:80>
ServerName www.mywebsite.com
DocumentRoot "/var/www/html/mywebsite/public"
<Directory "/var/www/html/mywebsite/public">
AllowOverride all
</Directory>
</VirtualHost>
My route. (which is working)
Route::get('/', 'IndexController@index');
Other route (which is not working)
Route::get('thread/ViewThread', array('uses' => 'ThreadController@ToViewThread'));