Bad end offset error solution
-
Had to troubleshoot this error for a client, “Bad end offset:”
The solution to get around the LiteSpeed issue was to add this to .htaccess:
# Force LiteSpeed to respect byte-range chunked loading for PDFs
<IfModule mod_headers.c>
<FilesMatch “.(pdf)$”>
Header set Accept-Ranges bytes
Header set Cache-Control “no-cache, no-store, must-revalidate”
Header set Pragma “no-cache”
Header set Expires 0
</FilesMatch>
</IfModule>
You must be logged in to reply to this topic.