Dave Jarvis' Repositories

git clone https://repo.autonoma.ca/repo/keenwrite.git

Removes superfluous htaccess setting

AuthorDaveJarvis <email>
Date2023-11-11 14:54:40 GMT-0800
Commit72e50a2b64fd68232571be1e3a7e0009b5fe4b10
Parent16dd4d5
Delta0 lines added, 2 lines removed, 2-line decrease
www/downloads/.htaccess
SetEnv no-gzip dont-vary
-SetEnvIfNoCase Request_URI \.php$ no-gzip dont-vary
<IfModule mod_rewrite.c>
www/downloads/counter.php
$seek_start = isset( $matches[ 1 ] ) ? $matches[ 1 ] + 0 : 0;
$seek_end = isset( $matches[ 2 ] ) ? $matches[ 2 ] + 0 : $size - 1;
-
$range_bytes = $seek_start . '-' . $seek_end . '/' . $size;
$content_length = $seek_end - $seek_start + 1;