Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

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