xdxdVSxdxd / HumanEcosystemsv3

Human Ecosystems v3
MIT License
11 stars 6 forks source link

500 internal error in laravel application #6

Open rjshk013 opened 5 years ago

rjshk013 commented 5 years ago

I am trying to deploy laravel app on aws instance .both server & mysql are in the same db.db shows connected .When I hit aws public ip/controllername it gives internal error .In local environment it was working fine. here is my apache virtual host conf ServerAdmin webmaster@localhost DocumentRoot /var/www/html/marine-cargo-module/public <Directory /var/www/html/marine-cargo-module> Options +FollowSymlinks AllowOverride All Require all granted I also have .htaccess file on the laravelapp/public folder like below

Options -MultiViews -Indexes RewriteEngine On # Handle Authorization Header RewriteCond %{HTTP:Authorization} . RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}] # Redirect Trailing Slashes If Not A Folder... RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_URI} (.+)/$ RewriteRule ^ %1 [L,R=301] # Handle Front Controller... RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME} !-f RewriteRule ^ index.php [L]

kindly help me to get the application working

xdxdVSxdxd commented 5 years ago

sorry! we don't use laravel! This is done using CakePhp

rjshk013 commented 5 years ago

Is anyone who have experience in this?