If you're using OpenLiteSpeed, you might notice log messages like the following:
2024-03-12 10:17:43.112478 [INFO] [512734] RewriteFile [/var/www/uuid/public_html/wp-content/uploads/.htaccess] parsed, return 0.
2024-03-12 10:17:55.389201 [INFO] [512735] Invalid rewrite directive: <Files *.php>
2024-03-12 10:17:55.389278 [INFO] [512735] Invalid rewrite directive: Deny from all
2024-03-12 10:17:55.389302 [INFO] [512735] Invalid rewrite directive: </Files>
These are normal informational logs. cPFence adds standard Apache-style access rules for added protection. OpenLiteSpeed may log them as "invalid", but there is no impact on security or functionality.
OpenLiteSpeed only supports basic .htaccess
rules such as simple rewrites. More advanced directives like <Files>
blocks are not supported and are simply ignored.
These rules continue to work properly on Apache and LiteSpeed Enterprise. On OpenLiteSpeed, it's safe to ignore these messages—they do not affect your website or cPFence protection.
No action is needed. Everything is working as expected.
Need Further Assistance?
If you encounter any issues or need additional help, feel free to reach out to