Hey,
First: My English is bad
I installed Cyberpanel with auto installer on a Centos 7 lxc container.
All works fine, but now i want to change the error pages to german...
I found a few tutorials how, but nothing about how to change it globally (not .htaccess!!) like in an apache2 conf with ErrorDocument 404 /error/4o4.html or so....
How can i do this, because i dont want to change it for each new site manually, and when the site owner puts his own and remove it, the default page (in english) will be shown? Ive already tried something like this:
and put the ErrorDocument 404 (...) in the specified htaccess file, but that doesnt worked....
First: My English is bad
I installed Cyberpanel with auto installer on a Centos 7 lxc container.
All works fine, but now i want to change the error pages to german...
I found a few tutorials how, but nothing about how to change it globally (not .htaccess!!) like in an apache2 conf with ErrorDocument 404 /error/4o4.html or so....
How can i do this, because i dont want to change it for each new site manually, and when the site owner puts his own and remove it, the default page (in english) will be shown? Ive already tried something like this:
Code:
rewrite{
blahblah
rewritefile /home/global/.htaccess
}
and put the ErrorDocument 404 (...) in the specified htaccess file, but that doesnt worked....