내 커뮤니티 업적 표시줄을 확대합니다.

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

Mark Solution

활동이 없어 이 대화는 잠겼습니다. 새 게시물을 작성해 주세요.

해결됨

vanity URl not used

Avatar

Level 4

what if commented out below line in dispatcher farm.any file, when we don't have vanity url packages in publisher/ not used vanity url?

i'm trying to avoid 404 error in dispatcher.

 

/vanity_urls { 

/url "/libs/granite/dispatcher/content/vanityUrls.html"

/file "/tmp/vanity_urls"

/delay 300

}

 

 

1 채택된 해결책 개

Avatar

정확한 답변 작성자:
Community Advisor

If the 404 is for /libs/granite/dispatcher/content/vanityUrls.htm and not planning to use vanity whitelisting, commenting this section will help to remove those 404 errors.

원본 게시물의 솔루션 보기

10 답변 개

Avatar

Community Advisor

You can remove the /vanity_urls section from farm files, if the vanity whitlisting is not required - white list the vanity URL's in Dispatcher filters

 

Regards

Albin I

www.albinsblog.com

Avatar

Level 4

if we don't have vanity url packages in publisher/ not used vanity url and 

trying to avoid 404 error in dispatcher.

 

commenting out of the above line is sufficient ?

Avatar

정확한 답변 작성자:
Community Advisor

If the 404 is for /libs/granite/dispatcher/content/vanityUrls.htm and not planning to use vanity whitelisting, commenting this section will help to remove those 404 errors.

Avatar

Level 4

Thanks for help Albin. I will try it.

Avatar

Community Advisor

Yes you can if you are not going to use vanity url's in your project.

If you try to use vanity url they will throw 404 until unless you haven't allowed those urls explicitly in farm files.

Avatar

Level 4

We don't have any vanity url as such yet, but by default its enable in farm.any like below. due to this there is 404 error, as to fix this error will commenting out below lines going to work?

 

/vanity_urls { 

/url "/libs/granite/dispatcher/content/vanityUrls.html"

/file "/tmp/vanity_urls"

/delay 300

}

Avatar

Community Advisor

Yes you can no issues with that.

Avatar

Level 4

Thanks Ankur !. I will try it out.

Avatar

Level 4

would like to know, in this case 404 error is expected?

Avatar

Community Advisor

@karthick1356  You may setup error pages for such errors.

 

Thanks!


Santosh Sai

AEM BlogsLinkedIn