Tag Info

New answers tagged

1

I believe the problem here is not likely to be related to your Apache configuration but in your PHP script. For example, if your script loads the entire video file in one go, and then sends it all to the browser in one go this can cause this issue: <?php header( 'Content-Type: video/mp4' ); $sVideo = @file_get_contents( ...


1

The range header handling code is probably where the issue lies, although it's hard to say for sure. Serving videos with PHP tends not to be very memory efficient, particularly if they are large. I'd suggest you use something like X-Sendfile instead. That way, you still do your authentication checks in PHP, but you get your web server to do the heavy lifting ...


3

User agent wget Blocking the user agent wget will block operating systems that use wget to download files within the terminal i.e Linux, MacOS, Arm etc. This will block every file from being downloaded using wget example.pdf. But why block wget? There's no right or wrong to this question but generally webmasters want site visitors actually visiting their ...



Top 50 recent answers are included