[TYPO3] Running multiple sites, caching static pages?
Joerg Schoppet
joerg at schoppet.de
Mon Sep 4 07:51:08 CEST 2006
He Shiming wrote:
> Hi,
>
> By using domain records, typo3 is capable of running multiple websites
> through one instance of the typo3 system. But to accomplish this, we'll have
> to configure apache to point the virtual host of both domain to the same
> path, where typo3 is located. This brings up a problem.
>
> I've been using wget to fetch those most popular pages (can't use static
> publish because RealURL is used) on my site, and upload them to the website,
> because nothing can beat the performance of static files. But it seems that
> if I were to run multiple sites, I would no longer be able to use this
> approach. The obvious reason is that by putting a static file like this, the
> URL of http://sitea/products/overview.html, will have the same content as
> http://siteb/products/overview.html .
>
> My question is, is it possible for typo3 to look for the static files in
> alternative paths? Hopefully, to configure one path for each domain record.
>
> Best regards,
Hi,
the only solution I see is to make extensive use of apaches module
mod_rewrite [1]. There you can make some RewriteCond with RewriteRule
e.g.
RewriteCond %{HTTP_HOST} ^sitea$
RewriteRule ^/products/(.*)$ /products_sitea/$1
Pleas cross-check this !!!!!!
Regards
Joerg Schoppet
More information about the TYPO3-english
mailing list