Search results

  1. LiteCache

    How to Prevent Cross-Site Infection on OLS Server?

    OLS is just a web server for delivering data. However, OLS is neither a firewall nor a web application firewall or an introduction detection system. If you expect protection against cross-site infection, then your expectations of OLS are wrong or inaccurate. Cross-site attacks take place in the...
  2. LiteCache

    OLS using header IP, not trusted Cloudflare IP, for connection limit?

    Of course, but CloudFlare status code 520 means there is an issue connecting the origin host. Maybe the origin host is down or cannot be connected by CF. If there were a block by the origin a CloudFlare status code page 520 would not be displayed.
  3. LiteCache

    How to Restrict Direct Access to Server’s Real IP When Using Cloudflare (OpenLiteSpeed)

    Open your mind... There are hundreds or thousands of machine driven attacks globally and there is no single user that wants to attack your site only. It is machine driven script and the result of every request matters only if the result code is not 40*. It is just about of the status code is...
  4. LiteCache

    OLS using header IP, not trusted Cloudflare IP, for connection limit?

    This forum is created to support OLS, but not for any CDN related issues. Using a CDN is a complete different thing, especially with CloudFlare. If you get a 520 status error you should firstly follow CloudFlare suggestions to solve such errors since status code 520 is a CF related error code.
  5. LiteCache

    How to Set canonical for all PDF Files in subdirectory?

    It seems you have a wrong understanding what OpenSource means. A provider like OpenLitespeed can offer free sources of the OLS, but that doesn't mean that any support is free. OpenLiteSpeed provides support for free, but if OLS doesn't provide a solution for your custom need and a external...
  6. LiteCache

    Access control ALLOW/DENY not working?

    @krlabs As already said, if you want to block whatever IP, you must block the client IP and not the CF node IP, but this expects to configure CF to respect client IPs. But aware if you use CF caching!
  7. LiteCache

    OLS using header IP, not trusted Cloudflare IP, for connection limit?

    You have a strange understanding of how the Internet works if a CDN is used.
  8. LiteCache

    How to Set canonical for all PDF Files in subdirectory?

    I am sorry that a solution for this issue can only be provided by commercial soluton, but this forum doesn't allow it.
  9. LiteCache

    Access control ALLOW/DENY not working?

    CloudFlare and every other CDN provider transmits the real client IP address. If your host is requested this means it is requested by a user and not by CloudFlare. Therefore you can't filter or block requests by CF because CF doesn't request your site. It is the user that requests it and not...
  10. LiteCache

    How to Restrict Direct Access to Server’s Real IP When Using Cloudflare (OpenLiteSpeed)

    ...but causes higher load to prevent blocking requests in that way... OLS is a web server and not a firewall and every block causes extra load.
  11. LiteCache

    How to Restrict Direct Access to Server’s Real IP When Using Cloudflare (OpenLiteSpeed)

    The problem you describe is a well-known problem that many experts have already racked their brains over. There is a solution to this problem, but it is not an OLS problem because OLS is just a web server. That is why you cannot expect a web server to solve a problem that requires other...
  12. LiteCache

    How to Set canonical for all PDF Files in subdirectory?

    Why do you need canonical URLs for PDF documents? Google is smart enough to recognize PDF documents.
  13. LiteCache

    How to Set canonical for all PDF Files in subdirectory?

    Try this. Not tested, but should work: <IfModule mod_rewrite.c> RewriteEngine On RewriteCond %{REQUEST_FILENAME} -f RewriteCond %{REQUEST_URI} \.pdf$ [NC] RewriteRule .* - [E=CANONICAL_URL:%{REQUEST_SCHEME}://%{HTTP_HOST}%{REQUEST_URI}] </IfModule> <IfModule mod_headers.c>...
  14. LiteCache

    How to reduce image HEADERS ? Tips on faster image transfers.

    No, it is not about headers but the rewrite rules for cache vary. No, it is not possible. I have invested a lot of time in the past few years to validate bugs and whenever I have reported these bugs, the reports have either been ignored or I have been spoken to in a stupid way or even...
  15. LiteCache

    How to reduce image HEADERS ? Tips on faster image transfers.

    @hp2 @Cold-Egg will not know any answer and he will redirect you the plugin support at WordPress forum, but don't hope you will get any qualified answer since I have reported this bug many times in the last years.
  16. LiteCache

    How to reduce image HEADERS ? Tips on faster image transfers.

    The problems mentioned exist from day one up to the current version.
  17. LiteCache

    Anyone use Cloudflare APO or Quic or both for OLS WP Woocommerce site?

    @swapot I'm glad that you've learned something from this discussion and you can now hopefully evaluate for yourself whether a CDN is beneficial to you. But there are still tons of insights to be gained to delve deeper into the subject of CDN: "Big Deal or Big Fake?" If you need further...
  18. LiteCache

    Anyone use Cloudflare APO or Quic or both for OLS WP Woocommerce site?

    There is no need to create a rule to bypass caching if you don't enable caching. Using CF Cache + LiteSpeed Cache and LiteSpeed Optimizations at the same time is an absolute no-go! Don't use CF caching and LScache at the same time, because it causes much conflicts! But you can still use CF Cache...
  19. LiteCache

    Anyone use Cloudflare APO or Quic or both for OLS WP Woocommerce site?

    You are using an outdated Firefox version.
Top