Expand my Community achievements bar.

Don’t miss the AEM Skill Exchange in SF on Nov 14—hear from industry leaders, learn best practices, and enhance your AEM strategy with practical tips.
SOLVED

Disptacher Configuration

Avatar

Level 5

Hey All,

 

So I am trying to find the issue with Dispatcher. So I have a site that works just fine in publisher (http://publisherurl/category.8.html) works just fine, but when I try to access it through disptacher (http://www.website.com/category.8.html) returns 404 from dispatcher, never makes it to publisher.

 

Any suggestions?

1 Accepted Solution

Avatar

Correct answer by
Administrator

Answer by: @Singaiah_Chintalapudi 

Answer by: @noksc

This is generic question and can't answer without additional info. Look at the dispatcher logs (change the DispatcherLogLevel to 3 to enable debug logs). It would give you more info.

 

Look at the VHOST configs, and farm file especially the /virtualhosts and the /renders configs. The server alias/names you define in vhost should match with the /virtualhosts in the farm file unless you are allowing all.

 

These are selectors. You might be allowing certain selectors and blocking the rest. Check your dispatcher config and make sure you are not blocking them.

This is generic question and can't answer without additional info. Look at the dispatcher logs (change the DispatcherLogLevel to 3 to enable debug logs). It would give you more info.

 

Look at the VHOST configs, and farm file especially the /virtualhosts and the /renders configs. The server alias/names you define in vhost should match with the /virtualhosts in the farm file unless you are allowing all.

 

These are selectors. You might be allowing certain selectors and blocking the rest. Check your dispatcher config and make sure you are not blocking them.



Kautuk Sahni

View solution in original post

6 Replies

Avatar

Community Advisor

Hi,

 

This is generic question and can't answer without additional info. Look at the dispatcher logs (change the DispatcherLogLevel to 3 to enable debug logs). It would give you more info.

 

Look at the VHOST configs, and farm file especially the /virtualhosts and the /renders configs. The server alias/names you define in vhost should match with the /virtualhosts in the farm file unless you are allowing all.

 

Thanks.

Avatar

Level 5

Hey,

 

Thanks for the reply...I will change the log level to 3. But to expand on my post....I have all working with multiple vhost entries. I just thought there was an out of box location blocks ... for example 

 

http://publisher1/category.1.html <-- works

http://publisher1/cateogry.gifts.html <-- works

 

Through Dispatcher

http://www.website.com/category.1.html <-- does not work so there must be something not liking in the number

http://www.website.com/cateogry.gifts.html <-- works

Avatar

Community Advisor

These are selectors. You might be allowing certain selectors and blocking the rest. Check your dispatcher config and make sure you are not blocking them.

Avatar

Level 5

that was it....there was a selector like this

/0017 { /type "deny" /selectors '(feed|rss|pages|languages|blueprint|infinity|tidy|sysview|docview|query|[0-9-]+|jcr:content)' /extension '(json|xml|html|feed)' }

 

 

I had to add a selector after that to allow my specific selector, thanks for the help

Avatar

Correct answer by
Administrator

Answer by: @Singaiah_Chintalapudi 

Answer by: @noksc

This is generic question and can't answer without additional info. Look at the dispatcher logs (change the DispatcherLogLevel to 3 to enable debug logs). It would give you more info.

 

Look at the VHOST configs, and farm file especially the /virtualhosts and the /renders configs. The server alias/names you define in vhost should match with the /virtualhosts in the farm file unless you are allowing all.

 

These are selectors. You might be allowing certain selectors and blocking the rest. Check your dispatcher config and make sure you are not blocking them.

This is generic question and can't answer without additional info. Look at the dispatcher logs (change the DispatcherLogLevel to 3 to enable debug logs). It would give you more info.

 

Look at the VHOST configs, and farm file especially the /virtualhosts and the /renders configs. The server alias/names you define in vhost should match with the /virtualhosts in the farm file unless you are allowing all.

 

These are selectors. You might be allowing certain selectors and blocking the rest. Check your dispatcher config and make sure you are not blocking them.



Kautuk Sahni