Score:0

Where can i find the 404 template from OpenLiteSpeed?

nu flag

I want to change/customize the standard 404 (Not Found) page/template from OpenLiteSpeed.

But where can i find the 404 file via terminal?

I'm searching in: cd /usr/local/lsws/ But can't find it.

Can someone help me please?

I'm using AlmaLinux 8 with OpenLiteSpeed and PHP 7.4

Thank you very much in advance!

Score:0
st flag

Open openlitespeed.conf and add this:

errorpage 404 {
  url                     /404.html
}

When done, restart the OpenLiteSpeed.

DSTUDIOS avatar
nu flag
Thank you for your answer @dawid But i think you don’t understand me. I want to edit the standard 404 page from OpenLiteSpeed it self and not add my own custom 404.html. So where can i find the standard 404 template from OpenLiteSpeed? This template: https://prnt.sc/3rpbLBEIB2-w
DSTUDIOS avatar
nu flag
do you understand me?
I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.