title: Laravel get 500 internal server error
body: <p>I had laravel project on share hosting, and my structure app is</p>
  
  <pre><code>/home/username
  
  `-&gt;fontEndApps ( my laravel apps )`
  
  `-&gt;backendApps ( my laravel apps )`
  
  `-&gt;public_html`
  </code></pre>
  
  <p>in public html I put the index.php, htaccess and admin folder, in admin folder there is index.php and htaccess</p>
  
  <p>backend is working fine but the front end when I try to access www.domain.com/segment1 or www.domain.com/segment1/segment2 I always got 500 internal server error, and this is my htaccess file for front end and back end</p>
  
  <pre><code>&lt;IfModule mod_rewrite.c&gt;
      &lt;IfModule mod_negotiation.c&gt;
          Options +FollowSymLinks
      &lt;/IfModule&gt;
  
      RewriteEngine On
  
      # Redirect Trailing Slashes...
      RewriteRule ^(.*)/$ /$1 [L,R=301]
  
      # Handle Front Controller...
      RewriteCond %{REQUEST_FILENAME} !-d
      RewriteCond %{REQUEST_FILENAME} !-f
      RewriteRule ^ index.php [L]
  &lt;/IfModule&gt;
  </code></pre>
  
  <p>please help me to figure out this problem</p>