|
Server : Apache System : Linux vps-1289444.devslamantis.cl 3.10.0-1160.139.1.el7.tuxcare.els2.x86_64 #1 SMP Mon Nov 3 13:30:41 UTC 2025 x86_64 User : vspt ( 1013) PHP Version : 7.4.33 Disable Function : NONE Directory : /etc/apache2/conf.d/ |
# Enable SSI handling of error document files
<Directory /var/www/html>
Options +Includes
AddType text/html .shtml
AddOutputFilter INCLUDES .shtml
</Directory>
Alias /cpanel-error-pages /var/www/html/
ErrorDocument 400 /cpanel-error-pages/400.shtml
ErrorDocument 401 /cpanel-error-pages/401.shtml
ErrorDocument 403 /cpanel-error-pages/403.shtml
ErrorDocument 404 /cpanel-error-pages/404.shtml
ErrorDocument 413 /cpanel-error-pages/413.shtml
ErrorDocument 500 /cpanel-error-pages/500.shtml