@mariosipad
That seems fine & normal with COPS.
In next release, I'll add a way to use PHP to download when Calibre is outside your webdir (to fix downloading with IIS).
Please note that I consider that keeping your Calibre database inside your webdir is insecure : Anybody can try to download your metadata.db / your books directly if all access are not password protected.
About the speed difference with X-SendFile / normal : I used X-SendFile / X-Accel-Redirect just because webserver are better at sending files (it's their job) but with small file (most epub are around 1 Mo) there's no gain.
|