05-19-2020, 02:25 PM
(This post was last modified: 05-19-2020, 02:25 PM by remkonoteboom.)
Welcome to the world of Apache permissions! Apache tends to be very restrictive for security reasons: any issue anywhere will cause it to reject the request.
So the basic known problem is that this link:
http://x.x.x/context/spt_js/chart/utils....=4.7.0.b02
is not permitted. Until this is solved, nothing else matters. In your case, this file is located in:
/home/apache/tactic_src_4.7.0.b02/src/context/spt_js/chart/utils.js
(I agree that this really should be stored here. It is vestigial from a long time ago. Now we generally install in either /home/tactic or more recently /opt/tactic)
Your user, www-data, is likely not permitted to see this path as seen through apache. This is usually due to file permissions or httpd config setup. Since you have symbolic links, all your paths in <Directory> need to have "Options FollowSymLinks"
The other line to check is in the tactic.conf file:
Alias /context /home/apache/tactic/src/context
This maps /context url to this folder (the default tactic.conf will have this set to: /opt/tactic/tactic/src/context). You will need to make sure that all of the references to "/opt/tactic/tactic" are switched to "/home/apache/tactic".
Finally, you should check the httpd error logs. They are sometimes helpful, but likely it will just that the path "/home/apache/tactic_src_4.7.0.b02/src/context/spt_js/chart/utils.js" is not permitted.
So the basic known problem is that this link:
http://x.x.x/context/spt_js/chart/utils....=4.7.0.b02
is not permitted. Until this is solved, nothing else matters. In your case, this file is located in:
/home/apache/tactic_src_4.7.0.b02/src/context/spt_js/chart/utils.js
(I agree that this really should be stored here. It is vestigial from a long time ago. Now we generally install in either /home/tactic or more recently /opt/tactic)
Your user, www-data, is likely not permitted to see this path as seen through apache. This is usually due to file permissions or httpd config setup. Since you have symbolic links, all your paths in <Directory> need to have "Options FollowSymLinks"
The other line to check is in the tactic.conf file:
Alias /context /home/apache/tactic/src/context
This maps /context url to this folder (the default tactic.conf will have this set to: /opt/tactic/tactic/src/context). You will need to make sure that all of the references to "/opt/tactic/tactic" are switched to "/home/apache/tactic".
Finally, you should check the httpd error logs. They are sometimes helpful, but likely it will just that the path "/home/apache/tactic_src_4.7.0.b02/src/context/spt_js/chart/utils.js" is not permitted.