Expand my Community achievements bar.

SOLVED

How to disable Query Debug Console in AEM 6.5

Avatar

Level 2

Hi,

I want to disable Query Debugger (http://localhost:4502/libs/cq/search/content/querydebug.html) console in AEM. When I tried to check other articles, they specified to disable query  debug config in Config Manager. But I dont see that in my AEM 6.5. Please help.

 

Thanks,

Jagan

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

@jagannadhareddyk 

 

I would suggest to block it on dispatcher level using filters. You would need to deny following:

 

  • For debugging Query Builder queries, you can use the Query Builder debugger console at

http://<host>:<port>/libs/cq/search/content/querydebug.html

  • Or, alternatively, the Query Builder JSON servlet at

http://<host>:<port>/bin/querybuilder.json?path=/tmp

# Deny access to /bin/querybuilder.json
/0099 { /type "deny" /url "/bin/querybuilder.json" }

If its still available in author and publish, its generally good, as it helps in debugging


Aanchal Sikka

View solution in original post

2 Replies

Avatar

Correct answer by
Community Advisor

@jagannadhareddyk 

 

I would suggest to block it on dispatcher level using filters. You would need to deny following:

 

  • For debugging Query Builder queries, you can use the Query Builder debugger console at

http://<host>:<port>/libs/cq/search/content/querydebug.html

  • Or, alternatively, the Query Builder JSON servlet at

http://<host>:<port>/bin/querybuilder.json?path=/tmp

# Deny access to /bin/querybuilder.json
/0099 { /type "deny" /url "/bin/querybuilder.json" }

If its still available in author and publish, its generally good, as it helps in debugging


Aanchal Sikka