Search results

  1. N

    Some help with rewrite rules

    @LiteCache this rule works, but needs to be placed before the last one. # Rewrite to https and www RewriteCond %{HTTPS} off [OR] RewriteCond %{HTTP_HOST} !^www\. [NC] RewriteRule (.*) https://www.example.com/$1 [R=301,L] This is the order that worked for me: <IfModule LiteSpeed> # Cache...
  2. N

    Some help with rewrite rules

    Thanks The order rules are important too, but this one I can't get this to work... I need to redirect to HTTPS and to WWW. The redirect to HTTPS is working, but to WWW doesn't work, either with HTTPS or a standalone rule. <IfModule mod_rewrite.c> # Rewrite https and www RewriteCond...
  3. 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...
  4. 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...
  5. N

    access.log doesn't created

    I can confirm that with 1.6.4. Adding by hand will solve the problem.
  6. N

    Overriding expire headers

    Hi Eric I would like to disable expires/cache for a vhost only. How am I able to archive that? Thanks
  7. 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...
  8. N

    OLS QUIC and HTTP/3

    Thanks for your help. Cleaning browser cache and flushing socket pool solved the problem.
  9. N

    OLS QUIC and HTTP/3

    What Browser have you used?
  10. N

    OLS QUIC and HTTP/3

    Hi I sent a message to you both with the site. Thanks for your help
  11. N

    OLS QUIC and HTTP/3

    I'm using Chrome 79.0.3945.88 and when I visit openlitespeed.org I get http/2+quic/46 protocol, but visiting my site I get h2! I disabled all firewall rules before the test.
  12. 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...
  13. N

    htpasswd problem

    Thanks chmod 644 htpasswd and 755 $VH_ROOT solved the problem :) Both files/folder where created with 600 and 700 by openlitespeed ... eventually this could be changes to 644 and 755 by default.
  14. N

    htpasswd problem

    Hi, Yes there's an entry in the htpasswd file, but generating the password either with htpasswd binary or multiple generator inline I can't get it working: https://www.askapache.com/online-tools/htpasswd-generator/ http://aspirine.org/htpasswd_en.html Eveytime I change the password I...
  15. 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...
  16. N

    Deny access to .user.ini file

    Haven't tried but this could work: RewriteRule \.user\.ini$ - [F,L,NC]
  17. N

    .htaccess not loading on subdirectory (2 levels)

    For now I'm using contexts to apply rules to subfolders, but would be great if we could also use .htaccess for these rules.
  18. N

    .htaccess not loading on subdirectory (2 levels)

    My use case is to disallow php execution inside WordPress upload directory
  19. N

    .htaccess not loading on subdirectory (2 levels)

    I have the same problem in Centos7 Only works if I set a context with the rules, not in htaccess.
  20. N

    htaccess in subfolders

    Hi Can someone confirm that OLS can read .htaccess files in subfolders? It only works in the root. I'm using 1.4.49 Thanks
Top