Chalipa Posted February 21, 2021 Share Posted February 21, 2021 Hi, I have latest version of WHMCS installed with Centos 7 and Openlitespeed and DirectAdmin as control panel. I had Apache, but when I upgraded from Apache to Openlitespeed my domain.com/whmcs/vendor/composer/LICENSE and other files are accessible, and I also get this: https://prnt.sc/1036a1b I currently have this in public_html/whmcs/vendor/.htaccess <IfModule !mod_authz_core.c> Order allow,deny Deny from all </IfModule> <IfModule mod_authz_core.c> Require all denied </IfModule> but, still all the files are still accessible, how do I fix this? 0 Quote Link to comment Share on other sites More sharing options...
bear Posted February 21, 2021 Share Posted February 21, 2021 This may help: https://openlitespeed.org/kb/access-control/ 0 Quote Link to comment Share on other sites More sharing options...
Chalipa Posted February 21, 2021 Author Share Posted February 21, 2021 5 minutes ago, bear said: This may help: https://openlitespeed.org/kb/access-control/ Hi, I have followed this, https://prnt.sc/1036s4z Still vendor files are accessible. 😞 0 Quote Link to comment Share on other sites More sharing options...
bear Posted February 22, 2021 Share Posted February 22, 2021 And you restarted Openlitespeed following that rule change? 1 Quote Link to comment Share on other sites More sharing options...
Chalipa Posted February 22, 2021 Author Share Posted February 22, 2021 8 hours ago, bear said: And you restarted Openlitespeed following that rule change? Yes Sir, still everything is accessible. 0 Quote Link to comment Share on other sites More sharing options...
Jade D Posted March 4, 2021 Share Posted March 4, 2021 Please try the following https://www.netsparker.com/blog/web-security/disable-directory-listing-web-servers/ 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.