[TYPO3-english] CDN subdomains

Björn Pedersen pedersen at frm2.tum.de
Tue Sep 13 10:44:51 CEST 2011


Am 13.09.2011 08:44, schrieb Morten Hagh:
> Lost my original thread...
> 
> "Are those CDN Hosts on the same machine? if yes the create 3 VHOST and
> set the Rootdirectory to the respective paths.
> 
> If you really want to do CDN then have a look at Amazons Clodfront with
> the Origin Server settings. That what we do with www.dkd.de
> 
> Olivier"
> 
> The CDN's are on the same server. If I copy typo3temp to cdn.domain.com
> can I tell TYPO3 to find the files there? It is easier with fileadmin
> because files are placed there manually. But I also want generated images
> to be served statically. Or is this just completely wrong?

Hi,

no do not copy the directories, just symlink them into the docroot of
your CDN's. Then just configure jareplacer to replace the normal domain
with the cdn domain
(http://typo3.org/extensions/repository/view/ja_replacer/current/info/readme.txt/)
. If you are using a system where you have to copy the files, I would
suggest  a cronjob rsync the diretories regularyly.

Björn




More information about the TYPO3-english mailing list