Server : Apache System : Linux server1.cgrithy.com 3.10.0-1160.95.1.el7.x86_64 #1 SMP Mon Jul 24 13:59:37 UTC 2023 x86_64 User : nobody ( 99) PHP Version : 8.1.23 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