[TYPO3] Restrict site/page loading based on HTTP_REFERER

Tomas Mrozek mail at cascaval.com
Fri Nov 2 11:39:35 CET 2007


> I can use condition like this in TS setup:
> [globalString = IENV:REMOTE_ADDR = 192.168.*]
> all the site content and configuration here
> [global]

Since you probably cannot check referer directly in conditions, you will 
have to write your own function that checks it and returns true or 
false. The function will be called in the condition. See userFunc in the 
manual [1].

Tomas Mrozek
--
[1] 
http://typo3.org/documentation/document-library/references/doc_core_tsref/4.1.0/view/4/1/#id3527093


More information about the TYPO3-english mailing list