Laravel: You don't have permission to access this resource. Additionally, a 500 Internal Server Error error was encountered while trying to use

Viewed 441

My laravel project is throwing error on sub-domain of hosting. My code is working fine on other hosting's sub-domain. However, on this here is shows error as show in image below.enter image description here.

My .htaccess file

    <IfModule mod_rewrite.c>
    <IfModule mod_negotiation.c>
        Options -MultiViews -Indexes
    </IfModule>

    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]

    # Send Requests To Front Controller...
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteRule ^ index.php [L]
</IfModule>

Please help me out to solve this issue. Thanks in advance :)

0 Answers
Related