Développer ma barre des réalisations de la Communauté.

Submissions are now open for the 2026 Adobe Experience Maker Awards.

Mark Solution

Cette conversation a été verrouillée en raison de son inactivité. Veuillez créer une nouvelle publication.

RÉSOLU

Region picker country selection. redirection is not happening from only 1 country.

Avatar

Level 3

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.!

 

 

1 solution acceptée

Avatar

Réponse correcte par
Community Advisor

@Aj_9625932 ,

 

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!

Voir la solution dans l'envoi d'origine

3 Replies

Avatar

Réponse correcte par
Community Advisor

@Aj_9625932 ,

 

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!

Avatar

Community Advisor

@Aj_9625932  few pointers on what might be causing this : 

 

  • Check if there is a rewrite condition that is excluding this specific country redirect.
  • If there are individual rewrites configured for each country , check if the rewrite rule/ rewrite condition is missing for this country.
  • Also check the order of rewrite rules as rewrite rules and rewrite conditions are order sensitive.

Some insights into how rewrite flags work : https://httpd.apache.org/docs/2.4/rewrite/flags.html

 

Avatar

Community Advisor

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.

 

PreetpalSinghBi_0-1692390638942.png

 

Hope that helps.

 

thanks,

Preetpal Singh