[TYPO3-UG Italy] problema con line breaks

Roberto Torresani roberto.torresani at typo3.org
Thu Jun 15 15:45:32 CEST 2017


Ciao Gerry
dovresti aver ricevuto risposta a questo domanda su stackoverflow:
https://stackoverflow.com/questions/44534739/typo3-typoscript-does-not-respect-line-breaks-in-txt-file

Ciao
Roberto


Il 14/06/2017 05:46, gerry [Newred] ha scritto:
> uso multidomain e uno dei domini non deve essere indicizzato ...
>
> uso questa soluzione:
> https://www.kerstner.at/2014/12/configure-robots-txt-for-realurl-in-typo3/ 
>
>
> tutto funziona come previsto, solo che il robots.txt generato non ha 
> line breaks ...
> non so perché e non so se questo ha importanza, forse "User-Agent: 
> *Disallow: /" funziona altrettanto
>
> (ho solo tolto "wrap" e usato "value" che fa più senso)
>
> # robots.txt
> robots = PAGE
> robots {
>     typeNum = 201
>     config {
>         disableAllHeaderCode = 1
>         additionalHeaders = Content-type: text/plain
>     }
>     10 = TEXT
>     10._value _(
> User-Agent: *
> Disallow: /
> )
> }
>
> distinti saluti, Gerry
> _______________________________________________
> TYPO3-UG-Italy mailing list
> TYPO3-UG-Italy at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-ug-italy

-- 
Roberto Torresani
Member of the TYPO3 Business Control Committee
roberto.torresani at typo3.org

TYPO3 .... inspiring people to share!
Get involved: typo3.org

TYPO3 on facebook: http://fb.com/typo3cmsitalia



More information about the TYPO3-UG-Italy mailing list