typo3 sys_domain domain record context for production/testing/development

raw

README.rst

Christian Weiske: How do you guys use sys_domain records in combination with contexts (production/testing/development)? The first domain record is used for preview links in the backend, no matter what context I'm in.

Mathias Schreiber: we used to rewrite PHP superglobals. So the domains would be like this: www.bitburger.de.preview.wmdb.de

Christian Weiske: mathias.schreiber: as in "overwrite $_SERVER[HTTP_HOST]"?

Mathias Schreiber: jup...

Chris Wolff: @cweiske we use a "SQL statement" as part of the deployment which replaces the "original domain" intio the testing domain

https://forge.typo3.org/issues/81269

Christian Weiske Christian Weiske
owner

History