Search results

  1. N

    Some help with rewrite rules

    Hi I'm struggling with these rules that I moved from apache (.htaccess) to OLS (vhost static context "/"). The last rule that works is: "RewriteCond %{HTTPS} off [OR]". After that, no other rule works and I get 404 errors What am I doing wrong? Thanks RewriteEngine On # Cache RewriteCond...
  2. N

    OLS doesn't respect CacheLookup

    Hi In LS, I have CacheLookup on/off in .htaccess and it works as expected using X-LiteSpeed-Tag and X-LiteSpeed-Cache-Control, but OLS (1.7.19) ignores this directive. I have enabled .htaccess "Auto Load from .htaccess" server level but there's no way OLS disable cache when "CacheLookup public...
  3. N

    Overriding expire headers

    Hi I have a status site with static pages and images where I want to disable cache and set expire to 0. I tried with htaccess: <IfModule litespeed> RewriteEngine On RewriteRule .* - [E=Cache-Control:no-cache] </IfModule> <IfModule mod_headers.c> Header set Cache-Control "no-cache...
  4. N

    OLS QUIC and HTTP/3

    Hi I'm using OLS 1.6.4 and when testing my site at https://www.http3check.net/ I get QUIC and HTTP/3 enabled. When using Chrome should see a response protocol http/2+quic/46 but it only shows h2. I'm using OLS 1.6.4 and have both TCP/UDP 443 ports open (in/out) I tested openlitespeed.org and...
  5. N

    htpasswd problem

    Hi, I'm having som trouble generating passwords to protect directory/files. I go to the vhosts Security tab and create a new real file: Then I create a user + pass and save. The htpasswd file is created and the user is in the file, but I I can login ... the logs say: 2019-12-09...
  6. N

    htaccess in subfolders

    Hi Just to clarify these points: OLS can read .htaccess only when in the root folder ./ and any changes to this file need to be reload by the server by clicking in the reload button on the admin cp. If .htaccess file is inside a subfoler "./subfolder/.htaccess" OLS just ignores it and theses...
  7. N

    Caching 204 status code

    Hi I have this in .htaccess ExpiresByType image/x-icon A2592000 And in the rewrite conf I have setup this rule: RewriteRule favicon\.ico$ - [L,R=204] I was expecting that favicon would be cached, but is not. Is the status code is 200, the .ico file os cached. What do I need to do to make...
Top