Hello cPanel,
before I opened this thread I already asked Litespeed for support, but they can't find something on my server that is Litespeed responsible for. So, they asked me to contact cPanel.
For all of my applications I have custom error pages. This works, but if there are no error pages defined error_log has additional entries for each error because *.shtml file cannot be found. All related configurations to error pages and much more are default. This issue happens with Litespeed AND if switched to Apache.
Michael
error_log
before I opened this thread I already asked Litespeed for support, but they can't find something on my server that is Litespeed responsible for. So, they asked me to contact cPanel.
For all of my applications I have custom error pages. This works, but if there are no error pages defined error_log has additional entries for each error because *.shtml file cannot be found. All related configurations to error pages and much more are default. This issue happens with Litespeed AND if switched to Apache.
Michael
error_log
Code:
2020-04-08 08:36:01.061306 [INFO] [5834] [xxx.xxx.xxx.xxx:50562:HTTP2-19#APVH_docs.account.de:443] File not found [/home/account/public_html/docs/403.shtml]
2020-04-08 08:36:01.061282 [INFO] [5834] [xxx.xxx.xxx.xxx:50562:HTTP2-19#APVH_docs.account.de:443] Auto Index is disabled for [/home/account/public_html/docs/], access denied
2020-04-08 08:35:50.734290 [INFO] [5834] [xxx.xxx.xxx.xxx:50562:HTTP2-17#APVH_docs.account.de:443] File not found [/home/account/public_html/docs/403.shtml]
2020-04-08 08:35:50.734265 [INFO] [5834] [xxx.xxx.xxx.xxx:50562:HTTP2-17#APVH_docs.account.de:443] Auto Index is disabled for [/home/account/public_html/docs/], access denied
2020-04-08 08:35:47.976640 [INFO] [5834] [xxx.xxx.xxx.xxx:50562:HTTP2-15#APVH_docs.account.de:443] File not found [/home/account/public_html/docs/403.shtml]
2020-04-08 08:35:47.976620 [INFO] [5834] [xxx.xxx.xxx.xxx:50562:HTTP2-15#APVH_docs.account.de:443] Auto Index is disabled for [/home/account/public_html/docs/], access denied
2020-04-08 08:34:53.764346 [INFO] [5456] [xxx.xxx.xxx.xxx:50545:HTTP2-15#APVH_docs.account.de:443] File not found [/home/account/public_html/docs/403.shtml]
2020-04-08 08:34:53.764323 [INFO] [5456] [xxx.xxx.xxx.xxx:50545:HTTP2-15#APVH_docs.account.de:443] Auto Index is disabled for [/home/account/public_html/docs/], access denied
2020-04-08 08:34:19.216594 [INFO] [5277] [xxx.xxx.xxx.xxx:50544:HTTP2-15#APVH_docs.account.de:443] Auto Index is disabled for [/home/account/public_html/docs/], access denied
2020-04-08 08:19:12.724365 [INFO] [490] [xxx.xxx.xxx.xxx:50369:HTTP2-15#APVH_docs.account.de:443] File not found [/home/account/public_html/docs/403.shtml]
2020-04-08 08:19:12.724346 [INFO] [490] [xxx.xxx.xxx.xxx:50369:HTTP2-15#APVH_docs.account.de:443] Auto Index is disabled for [/home/account/public_html/docs/], access denied
2020-04-08 08:11:00.418531 [INFO] [27655] [xxx.xxx.xxx.xxx:50285:HTTP2-15#APVH_docs.account.de:443] File not found [/home/account/public_html/docs/403.shtml]
2020-04-08 08:11:00.418509 [INFO] [27655] [xxx.xxx.xxx.xxx:50285:HTTP2-15#APVH_docs.account.de:443] Auto Index is disabled for [/home/account/public_html/docs/], access denied
2020-04-08 08:09:46.850411 [INFO] [27655] [xxx.xxx.xxx.xxx:50269:HTTP2-15#APVH_docs.account.de:443] File not found [/home/account/public_html/docs/htdocs/403.shtml]
2020-04-08 08:09:46.850381 [INFO] [27655] [xxx.xxx.xxx.xxx:50269:HTTP2-15#APVH_docs.account.de:443] Auto Index is disabled for [/home/account/public_html/docs/], access denied
2020-04-08 08:07:04.354367 [INFO] [27655] [xxx.xxx.xxx.xxx:50249:HTTP2-15#APVH_docs.account.de:443] File not found [/home/account/public_html/docs/403.shtml]
Apache config:
/etc/apache2/conf.d>cat cperror.conf
# 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
HTML:
/var/www/html>curl -i docs.account.de
HTTP/1.1 403 Forbidden
Date: Wed, 08 Apr 2020 09:41:26 GMT
Server: Apache
Content-Length: 318
Content-Type: text/html; charset=iso-8859-1
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>403 Forbidden</title>
</head><body>
<h1>Forbidden</h1>
<p>You don't have permission to access this resource.</p>
<p>Additionally, a 403 Forbidden
error was encountered while trying to use an ErrorDocument to handle the request.</p>
</body></html>