Closed natk9 closed 2 years ago
Modify the configuration file according to the official website change /etc/httpd/vhost/vhost.d DocumentRoot "/data/wwwroot/suitecrm/public" <Directory "/data/wwwroot/suitecrm/public">
Now, the website can Log in,but function cannot use. Report Internal Server Error
check logs find error [Fri Dec 10 06:07:51.228575 2021] [core:alert] [pid 4659:tid 4659] [client 103.117.101.210:54562] /data/wwwroot/suitecrm/public/legacy/.htaccess: RewriteBase: argument is not a valid URL, referer: http://184.72.171.107/
try to delete /data/wwwroot/suitecrm/public/legacy/.htaccess after delete ,website is functioning normally
Research Mod_Rewrite and .htaccess problem
about .htaccess on /data/wwwroot/suitecrm/public/legacy/
think the parameter "RewriteBase" Setting error
RewriteBase 54.163.204.89legacy/
change into
RewriteBase /legacy/
then can normal run
but
delete parameter “RewriteBase” or change into
RewriteBase //
both can run successfully
Considering it is a grammatical problem
download without validate_certs
- name: Download {{suitecrm_name}} from {{ suitecrm_download_url }}
unarchive:
src: "{{ suitecrm_download_url }}"
dest: /data/wwwroot
remote_src: yes
validate_certs: no
SuiteCRM-8.0.0
SuiteCRM-7.11.19
The directory structure has changed a lot