0

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!

DSTUDIOS
  • 1
  • 1

1 Answers1

0

Open openlitespeed.conf and add this:

errorpage 404 {
  url                     /404.html
}

When done, restart the OpenLiteSpeed.

Dawid
  • 1
  • 1
  • 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 Mar 05 '23 at 19:46
  • do you understand me? – DSTUDIOS Mar 07 '23 at 02:08