Domino on Linux/Unix, Troubleshooting, Best Practices, Tips and more ...

Domino Blog template search fix

Daniel Nashed  17 April 2021 06:53:58

The Domino community is still one of the most open and helpful communities I know.
I had an issue with the search in my blog after updating my server to Domino 11 and I had no idea where this was coming from.

Ben Erickson from Trusted Computer Consulting, LLC was searching for a post on my blog and noticed the search was broken..
He sent me this quick fix, that he got from HCL support, because he had the same issue.

The background of the problem is changed security.
Domino 11 sends "X-Content-Type-Options: nosniff" for security reasons, which doesn't work well with this content type.
So the solution was to change the agent involved to generate the right content type.
Here is what Ben got from support and what Ben summarized out of the ticket:

-- snip --

1. find the relevant code in the dXSearch agent's file and comment it out:

out.println("Content-Type: text/html;charset="+configdoc.getFirstItem("config_xmlencoding"));

2. replace it with the following:

out.println("Content-Type: application/x-javascript");

-- snip --

More blog template improvements?

I would really like to see more improvements for the blog template. There are some other issues I would like to see fixed.
For example the design isn't responsive at all and does not work well with mobile devices.

Maybe someone looked into this already and can help all others still using the blog template?
There is no other blog template I could switch to on the Notes space and I don't want to start over and loose all the history...

What do you think? What are others doing?

For how I am already happy, that the search is working again...

Thanks Ben you made my day!!!

-- Daniel



    • [IBM Lotus Domino]
    • [Domino on Linux]
    • [Nash!Com]
    • [Daniel Nashed]