Legacy rewrite internal server error
Related posts
As raised on the following post:
Errors
From the post mentioned above:
Possible root cause
Misconfiguration in the legacy .htaccess
This can happen if the the site url provided during the install is not the correct one.
Debugging the problem
Check the .htaccess
file under /your/crm/path/public/legacy
.
Your RewriteBase
should have something like /public/legacy
. Check the following excerpt.
<IfModule mod_rewrite.c>
Options +SymLinksIfOwnerMatch
Options -Indexes
Options -MultiViews
RewriteEngine On
RewriteBase /public/legacy
Solution
Note:
Please check the if you have mod_rewrite
configured. The following thread may help SuiteCRM 8 Beta - Install Questions - #3 by clemente.raposo
Solution 1
Try updating RewriteBase
to /public/legacy
Please also make sure that the site_url
on /<your-crm>/public/legacy/config.php
is correct. It should be pointing to your legacy path, something like: https://<your-host>/public/legacy
Note: Please note that if your vhost
is not directly pointing to /<your-crm>/public
and you have SuiteCRM installed on a sub-folder like https://<your-host>/suite-8/public
you will need to add something like /suite-8/public/legacy
to RewriteBase
. And something like https://<your-host>/suite-8/public/legacy
to site_url
on config.php
Solution 2
Try re-installing. When running the ./bin/console suitecrm:app:install
command, please make sure that the url provided points to your SuiteCRM 8
main path:
-
if you have your
vhost
pointing to/<your-crm-path>/public
the site url should be something likehttps://yourhost/
-
if you have your
vhost
just pointing to/<your-crm-path>/
the site url should be something likehttps://yourhost/public
. Note: Ideally you should not use this option, as only the files onpublic
should publicly available.