Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Hosting TXP's 'files' folder on another server
Hi all,
Quick question – i’ve been trying to find a solution to this question:
Is it possible to host the TXP ‘files’ folder, externally on another website?
I’ve been working on a site that has a fair amount of flash video content.
We’ve been busy modifying bas_flvplayer so that it embeds the flash on the page with SWFObject and outputs the file’s real name (rather then downloads/1 etc) to help improve the streaming of the video. I’ve now come down to the conclusion that it could be Media Temples up and down grid server thats causing the problem, therefore would like to host the files folder (with the flash inside it) on another website where its faster, hence improving the performance of the video.
I’m not a technical guru so forgive me if i’ve asked a stupid question ;)
Any ideas?
Offline
Re: Hosting TXP's 'files' folder on another server
I haven’t seen this done, but it might be possible.
The simpler, no PHP way: have you tried to rewrite the URL so that yousite.tld/file/ will go to docs.yoursite.tld/ (with the appropriate DNS entry and so on)?
But that imply not using the internal TXP file manager anymore. If you want to keep use it, the PHP way may be the only answer. And that would require two host accepting to open up their server in a way or another.
Offline
Re: Hosting TXP's 'files' folder on another server
Yip defiantly still want TXP to manage the files folder either way, as bas_flvplayer uses file id’s to pull .flv into a .swf player.
Offline