[TYPO3-UG Italy] Login cross domain (multisito)

Roberto ghilardi roberto.ghilardi at bhuman.it
Wed Nov 26 17:33:28 CET 2014


Buonasera,
ho questa struttura per una installazione multisito di typo3 (6.2.4)

www.dominioa.it
www.dominiob.it
www.dominioc.it

Tutte quante fanno riferimento alla stessa installazione di typo3 perché si vuole che la base di utenti sia la stessa su tutti i domini e
che gli utenti loggano in un dominio siano automaticamente loggati anche negli altri.

Typo 3 nella configurazione del cookie domain dice:
Restricts the domain name for FE and BE session cookies. When setting the value to ".domain.com" (replace domain.com with your domain!), login sessions will be shared across subdomains. Alternatively, if you have more than one domain with sub-domains, you can set the value to a regular expression to match against the domain of the HTTP request. The result of the match is used as the domain for the cookie. eg. /\.(example1|example2)\.com$/ or /\.(example1\.com)|(example2\.net)$/. Separate domains for FE and BE can be set using $TYPO3_CONF_VARS['FE']['cookieDomain'] and $TYPO3_CONF_VARS['BE']['cookieDomain'] respectively.

Ho provato ad inserire come configurazione /\.(dominiaa\.it)|(dominiob\.it)|(dominioc\.it)$/ ma il sistema non ne vuole sapere (riesco a collegarmi solo al sito da cui sto facendo il login). 
Domanda: Come posso fare per avere un login su tutti i domini?

Grazie
Roberto



More information about the TYPO3-UG-Italy mailing list