i temporarily change place for static files on site. But this files must have access from开发者_Python百科 old URL, i've create a script that make's redirect to the right place, but this files are downloading by third-part program.
The problem is that program ignoring redirect. I tryed to use permanent redirecting but no success.
Okay, so a redirect doesn't work.
What you can do is read the file in PHP and output it directly. You can use the function readfile() to do that.
readfile($filename);
精彩评论