I have uploaded my laravel files to a Godaddy shared hosting.
My folder structure is like so
/mediservices
all-other-laravel-files-and-folders
/public_html
public
index.php
The content of the index.php in the public folder in public_html has been edited to point to the medsirvices folder like so -
22. require __DIR__.'/../../mediservices/bootstrap/autoload.php';
34. $app = require_once __DIR__.'/../../mediservices/bootstrap/app.php';
I have added the following to the .htaccess file in the public_html folder
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{REQUEST_URI} !^mediservices
RewriteRule ^(.*)$ mediservices/$1 [L]
</IfModule>
I still get a 500 Internal Server Error when i go to the domain.
The full message is
Internal Server Error
The server encountered an internal error or misconfiguration and was
unable to complete your request.
Please contact the server administrator at [email protected] to
inform them of the time this error occurred, and the actions you performed
just before this error.
More information about this error may be available in the server error log.
Additionally, a 500 Internal Server Error error was encountered while trying
to use an ErrorDocument to handle the request.