Quote:
Originally Posted by Rouzbeh1
thank you very much
to understand it clearly, is there any option too add per entry or they will be set in admin panel and the rest work exactly as the concept of mirroring....?
the second question is: for example i have set my apache to allow ONLY 1 connection per IP at the same time (second connection gets error page 503 displayed)or in another case, the file doesn't exist on that mirror.... would there be any option (if possible) to check the error code on the server (like 404 error if file doesn't exist on that mirror.....) i know that this option could be meaning for you to spend much time, so ONLY IF you have the time, it would be perfect to have this option, to avoid users get forwarded to broken links etc.
thanks again for the awesome work here 
|
The idea is that the mirrors will only be set on the admin page. It seems much more logical that way, much more straightforward for the submitting user, and also straightforward to reconfigure at a later stage if you want to add another mirror.
The find and replace features that I will use can be straightforward or very sophisticated - basically they use the regular expression pattern matching code that is built into php.
Concerning your next point, I will take a look at what is involved. I agree it makes sense to pick up the error code, if any, when trying to retrieve a file, and respond appropriately. I suspect that it's straightforward when using the cURL module to access files.
As an aside, I'm wondering if this may be why some people have difficulties with the LDM jukebox from remote sites. At least, the windows media player plugin sends two or three separate requests to the server, depending on which browser is being used. It doesn't bother reading the full file each time - just picks up the headers and first bytes - but this may be why it hangs on the remote server but not on a local server.