1. P

    .htaccess not loading on subdirectory (2 levels)

    Hello guys, how are you? =) I'm working on hundreds of OLS installations for a managed cloud hosting, and I started to notice a common problem: If I have the following dir structure, the last .htaccess doesn't get read: /srv/user/www/.htaccess /srv/user/www/dir1/.htaccess...
  2. T

    LiteSpeed Slowdown wp !!???

    Did anyone facing this issue ? LiteSpeed keep generating cache files inside wp-content directory !! when I test my site performance with gtmatrix or google or any other site, it says that I should remove that file which under unused css files ! I remove the file and it keep...
  3. S

    CSP Headers aren't being sent

    I am trying to add some CSP headers via .htaccess, and they don't seem to be working. Header set X-Frame-Options "SAMEORIGIN" Header set X-Content-Type-Options "nosniff" Header set X-XSS-Protection "1; mode=block" Header set Strict-Transport-Security "max-age=631138519; includeSubDomains" when...
  4. A

    Context help needed

    I've recently installed OpenLiteSpeed and have been trying to transfer everything over from a shared host. I'm trying to turn my .htaccess files into working contexts but haven't been able to work out how to do so, if I visit my website it always returns a 404. Is anyone able to point me in the...
  5. tjk

    Moving from nginx, have some questions

    Hey All, Coming from the nginx world, I've been playing with OLS due to the faster php processing. Two questions: 1. One of the apps I am testing, uses a .htaccess in a ton of directories that simply has "deny from all" in it. Where/what is the proper way through OLS to protect these...
  6. Mohsen Ghiasi

    How to block access to xmlrpc.php file?

    Hello I use this code in httpd.conf to block access to xmlrpc.php file that kills many wordpress based websites every day ;-) <FilesMatch "^(xmlrpc\.php|wp-trackback\.php)"> Order Deny,Allow Deny from all </FilesMatch> Is it possible to add a rewrite rule to block access to some files like...