We have installed our project to a publish instance but some of the redirection to the pages are not working with error (500 org.apache.sling.api.SlingException: Cannot get DefaultSlingScript: null). Everything is working fine in the author instance and this is only happening in the publish instance.
The request.log forwards the request to the proper URL. I will check tomorrow with the Adobe personnel in regards to the resource resolver factory configs and the mapping rules as we do not have access to the publish instance. Will update with the results. Thank you for the help!