• Resolved Nadav Levi

    (@123nadav)


    Hello guys, how are you?

    So we install openlitespeed-wordpress on Google cloud

    It’s dedicate server for one website.

    Now i notice this article not in your docs:

    https://openlitespeed.org/kb/enable-wordfence-on-openlitespeed/

    Now the advance optimization of wordfance plugin cause a lot of issues, including creating user.ini (i think it’s not necessary at all and everything must be manual on this type of server)

    My question, if i am right? And i need to delete the user.ini?

    Or i should only hide it? (user.ini not working anyway and as i showed in the link, on lite speed you must work with the php.ini himself of the server)

    I pretty sure i am right about this, but just in case, i prefer to ask you first guys.

    Regards,

    Nadav Levi Yahel.

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support wfpeter

    (@wfpeter)

    Hi @123nadav, thanks for your question.

    You’re correct that you can remove the .user.ini altogether to avoid any warnings as:

    The OpenLiteSpeed web server does not currently support “.htaccess” or “.user.ini” files/

    https://www.wordfence.com/help/firewall/optimizing-the-firewall/troubleshooting

    Thanks,
    Peter.

    Thread Starter Nadav Levi

    (@123nadav)

    Thank you on your answer @wfpeter

    One more thing.

    Its mean i can delete this one from .htacsses too:

    # Wordfence WAF
    <IfModule LiteSpeed>
    php_value auto_prepend_file '/var/www/html/wordfence-waf.php'
    </IfModule>
    <IfModule lsapi_module>
    php_value auto_prepend_file '/var/www/html/wordfence-waf.php'
    </IfModule>
    <Files ".user.ini">
    <IfModule mod_authz_core.c>
    	Require all denied
    </IfModule>
    <IfModule !mod_authz_core.c>
    	Order deny,allow
    	Deny from all
    </IfModule>
    </Files>
    
    # END Wordfence WAF
    

    Am i right @wfpeter ?

    Plugin Support wfpeter

    (@wfpeter)

    Sorry @123nadav, I missed your additional reply.

    I’d always recommend taking a backup of the file to be safe, but from what I understand, OpenLiteSpeed shouldn’t be using the .htaccess so it doesn’t need to be present.

    Many thanks,
    Peter.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘user.ini on litespeed deployment (GCP)’ is closed to new replies.