[TYPO3-english] Real URL and subdomains - findRootPageId function
Vahan Amirbekyan
vamirbekyan at dgfoundation.org
Mon Apr 13 19:15:14 CEST 2009
dear All,
I thought of a patch that would find rootpage_id automatically and then
found the realurl code already has it.
findRootPageId does exactly what I thought of doing and even more.
Dmitry, why that feature is not being documented?
I am hoping it will stay in future releases.
regards,
Vahan Amirbekyan wrote:
> hi All,
> I have a system that creates sites on fly. Every new site is assigned a
> new sub-domain. For example a.mydomain.com, b.mydomain.com, .. and so on.
> I need all these *.mydomain.com sites to share the same realurl
> configuration.
>
> My typo3 installation though has other domain too as for instance
> mynewdomain.org.
>
> I see that realurl ext wants me to create one array for www.mydomain.com
> domain and then add aliases to the
> $TYPO3_CONF_VARS['EXTCONF']['realurl'] like
> 'a.mydomain.com' => 'www.mydomain.com',
> 'b.mydomain.com' => 'www.mydomain.com',
> ...
> 'N.mydomain.com' => 'www.mydomain.com',
>
> the problem with this is that the sites and hence the subdomain names
> are created on fly.
>
> i tried and can see that array like *.mydomain.com is not inderstood by
> realurl.
>
> Does realurl have solutino for this.
> If not pelase let me know what solution you think I should make so that
> it later is added to the realurl codebase.
>
> regards,
More information about the TYPO3-english
mailing list