Dispatcher configuration | Community
Skip to main content
April 21, 2022

Dispatcher configuration

  • April 21, 2022
  • 1 reply
  • 2288 views

Hi,

 

I am trying to develop sitemap scheduler with apache sling sitemap, I just added this configuration in config.publish like this 

{
"scheduler.name": "My Daily Sitemap Scheduler",
"scheduler.expression": "0 0 2 1/1 * ? *",
"searchPath": "/content/dumysite"
}

I didnt add dispatcher configuration in filters.any, rewrite.rules, will sitemap works without dispatcher configuration. 

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

1 reply

Anish-Sinha
Adobe Employee
Adobe Employee
April 21, 2022

HI @vani1012 ,

Yes, you don't need to have any specific rules other than the re-write rules for the sitemap. No entry in filter is required. other than opening the .xml extension.

Also, you will need dispatcher entries only in case you are using a domain. For localhost you can test it without any dispatcher entry.

Vani1012Author
April 21, 2022

Hi Anish,

 

I am not having rewrite.rules in dispatcher,do I need to manually create that file.

Anish-Sinha
Adobe Employee
Adobe Employee
April 27, 2022

Hi @anish-sinha ,

 

Yeah I checked that property in page properties, it  is there in author as well as in publish instance , PFA


Try restarting the server post all the configurations and the check if it works.