Search results

  1. N

    Rewrite based on HTTP_REFERER

    ok .. the /mypage context is not working at all! The solution was adding this to / context: RewriteCond %{REQUEST_URI} ^/privacy [NC] RewriteCond %{HTTP_REFERER} ^https://www.example.org [NC,OR] RewriteCond %{HTTP_REFERER} ^https://www.example.net [NC] RewriteRule . / [L,R]
  2. N

    Rewrite based on HTTP_REFERER

    @Cold-Egg I can't get this to work! Do you have any suggestions? Edit: this is the configuration: docRoot $VH_ROOT/public vhDomain example.com context /mypage { allowBrowse 1 rewrite { enable 1 RewriteCond %{HTTP_REFERER}...
  3. N

    Rewrite based on HTTP_REFERER

    I think the main issue is that the context is not matching... I don't know why. I even placed this rule on the top.
  4. N

    Rewrite based on HTTP_REFERER

    Hi, I need to redirect from /mypage to / only when the referer cames from these domains! Is that possible? Thanks
  5. N

    Rewrite based on HTTP_REFERER

    Hello Why doesn't this rewrite work? The idea is every request to /mypage from these domains, should be redirect to the main URL /. What is wrong? Thanks context /mypage { allowBrowse 1 rewrite { enable 1 RewriteCond %{HTTP_REFERER}...
  6. N

    SSL Configuration - Full Chain and Ciphers

    See these recommendations from Mozilla: https://ssl-config.mozilla.org/ I use the intermediate configuration and I get A+ on ssllabs Protocol: TLSv1.2 TLSv1.3; Ciphers...
  7. 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...
  8. 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...
  9. 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...
  10. 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...
  11. N

    access.log doesn't created

    I can confirm that with 1.6.4. Adding by hand will solve the problem.
  12. 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
  13. 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...
  14. N

    OLS QUIC and HTTP/3

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

    OLS QUIC and HTTP/3

    What Browser have you used?
  16. N

    OLS QUIC and HTTP/3

    Hi I sent a message to you both with the site. Thanks for your help
  17. 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.
  18. 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...
  19. 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.
  20. 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...
Top