Hi,
We have 10 different domains for our website, all the countries selection and redirection is happening fine apart from one country.
that too only in Dispatcher URL. Author and Publish instances are redirecting fine.
we have checked Dispatcher rules, there are lot of rules written, so couldn't understand which rule is causing this issue.
Can anyone help us to understand or resolve this issue please.
Thanks in advance.!
Solved! Go to Solution.
Views
Replies
Total Likes
I would start debugging by enabling the dispatcher logs and apache rewrite logs.
Add the below two line in the vhost config to enable the rewrite logs:
# Enable rewrite logs
RewriteLogLevel 3
RewriteLog /var/log/httpd/rewrite.log
Also, change the dispatcher.log level to debug if this is on a non-prod environment or for a very brief period, on PROD, just to capture the logs.(You may have to work with Adobe CSE if the servers are hosted on AMS to change the dispatcher.log level to debug).
Hope this helps!
I would start debugging by enabling the dispatcher logs and apache rewrite logs.
Add the below two line in the vhost config to enable the rewrite logs:
# Enable rewrite logs
RewriteLogLevel 3
RewriteLog /var/log/httpd/rewrite.log
Also, change the dispatcher.log level to debug if this is on a non-prod environment or for a very brief period, on PROD, just to capture the logs.(You may have to work with Adobe CSE if the servers are hosted on AMS to change the dispatcher.log level to debug).
Hope this helps!
@Aj_9625932 few pointers on what might be causing this :
Some insights into how rewrite flags work : https://httpd.apache.org/docs/2.4/rewrite/flags.html
Hello @Aj_9625932
Your best friends for debugging Dispatcher issues are,
access.log and dispatcher.log
To set the Dispatcher.log to either Debug or Trace level open the httpd.conf file and look for the settings shown in the screenshot below. Save and restart apache. Tail both access.log and dispatcher.log and access the page URL in the browser. That should show you whats going on with that country link.
Hope that helps.
thanks,
Preetpal Singh