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

Domino Blog template search fix

Daniel Nashed  17 April 2021 08: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 JavaAgent.java 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


Comments

1Martín Ortega  17.04.2021 17:42:56  Domino Blog template search fix

Another way to solve the problem

https://slug.es/blogslug.nsf/dx/12112020124729MORFU8.htm

Un saludo

2Daniel Nashed  17.04.2021 17:58:01  Domino Blog template search fix

Thanks Martín!

Yes this would keep the existing xmlencoding tag..

Now I have two solutions :-)

Before I had no solution..

3Martín Ortega  18.04.2021 11:40:19  Domino Blog template search fix

If you want, I can help you make your blog have a responsive design, you only need to follow my instructions.

We would make the change in phases, first the Home page, then the entries, etc.

In a short time your blog will be visible from any device.

Think about it.

Greetings from ESLUG

Links

    Archives


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