rewrite: invalid rewrite directive while parsing: <IfModule mod_expires.c>

gate2vn

Verified User
Joined
Nov 9, 2004
Messages
500
Location
Oslo
I just switched from nginx_apache to OLS, without any custom configuration. Then in the /var/log/httpd/error_log, there are 2 lines:
2024-01-17 11:50:24.195670 [ERROR] [1988830] [(null)] rewrite: invalid rewrite directive while parsing: <IfModule mod_expires.c>
2024-01-17 11:50:24.196889 [ERROR] [1988830] [(null)] rewrite: invalid rewrite directive while parsing: <IfModule mod_expires.c>
Searching mod_expires in /usr/local/lsws/conf and /usr/local/directadmin/data/templates/openlitespeed* gives me no result.
What should be the reason? It seems not connected to any specific domain. Checking in DA - Custom HTTPD configuration of any domain also shows these errors.

Thanks.
 
Back
Top