[TYPO3-english] RealURL and simulateStaticDocuments
Dmitry Dulepov
dmitry.dulepov at gmail.com
Wed Jul 11 21:51:40 CEST 2012
Hi!
Pero Peric wrote:
> Hi. Is it possible to have RealURL and simulateStaticDocuments working
> in a multisite TYPO3 enviroment? So, for some sites I would like to have
> RealURL enabled and for others I'd like simulateStaticDocuments enabled
> (no need for RealURL). When I try to install RealURL while
> simulatestatic ext. is already installed it says I have to remove it.
> This means I can't have RealURL and simulatestatic together? If I
> install simulatestatic after RealURL ext. has been installed and put
> this in my template on a site where I don't need RealURL:
These two extensions conflict with each other. The problems is: path to id
resolution happens before your TypoScript is read. So the following is
unavailable when RealURL is called by TYPO3:
> config.tx_realurl_enable = 0
> config.simulateStaticDocuments = 1
> config.simulateStaticDocuments_noTypeIfNoTitle = 1
As a result, you see:
> "The page did not exist or was inaccessible. Reason: Segment "2234" was
> not a keyword for a postVarSet as expected on page with id=1554."
To process TypoScript, TYPO3 needs the page id. So it has to resolve path
to id first. This is an egg&chicken issue.
You have to use either one or another. You cannot have both in the same
installation without doing some nasty tricks.
--
Dmitry Dulepov
TYPO3 core team member
Blog: http://dmitry-dulepov.com/
Twitter: http://twitter.com/dmitryd
Simplicity will save the world.
More information about the TYPO3-english
mailing list