Expand my Community achievements bar.

Dive into Adobe Summit 2024! Explore curated list of AEM sessions & labs, register, connect with experts, ask questions, engage, and share insights. Don't miss the excitement.

Does dispatcher support vanity url with auth_checker?

Avatar

Level 3

Hi,

We have requirement to implement auth_checker followed this document [1] and vanity url [2].

[1] - Caching Secured Content - docs.adobe.com

[2] - Configuring Dispatcher - docs.adobe.com

I have content url - /content/myproject/products/product-one.html. I have created a vanity url such as - /content/product-one.html. When I access the page using dispatcher, page get cached for first time. Upon further access/request, auth checker validates for authorization and denies permission. Please see the log below.

Upon authorization denied, dispatcher look for content from publisher.

[Wed Sep 13 17:49:53 2017] [D] [10312(836)] Found farm ebmpapst for local.myproject.com

[Wed Sep 13 17:49:53 2017] [D] [10312(836)] checking [/content/product-one.html]

[Wed Sep 13 17:49:53 2017] [D] [10312(836)] never flushed [D:\dispatcher\htdocs\content\.stat] -> use cache [D:\dispatcher\htdocs\content\product-one.html]

[Wed Sep 13 17:49:53 2017] [D] [10312(836)] Authorization checker: connected to backend rend01 (localhost:4503)

[Wed Sep 13 17:49:53 2017] [D] [10312(836)] Authorization checker: backend answered with status code: 403

[Wed Sep 13 17:49:53 2017] [I] [10312(836)] authorization checker denied access: D:\dispatcher\htdocs\content\product-one.html

[Wed Sep 13 17:49:53 2017] [D] [10312(836)] cache-action for [/content/sample2.html]: NONE

[Wed Sep 13 17:49:53 2017] [D] [10312(836)] Connected to backend rend01 (localhost:4503)

Does dispatcher support vanity url with auth_checker? If yes, do I need to add any further configuration?

Thanks and Regards,

Ruben Fernando

1 Reply

Avatar

Level 10

This question been answered in the community - see: Vanity URLs x Dispatcher