RealURL
Подскажите пожалуйста, как заставить работать RealURL?
Мануалы читал, но честно говоря не совсем понял что делать.
Во всяком случае я делал так:
1. Установил модуль RealURL
2. Добавил в /etc/apache2/httpd.conf следующие строки:
RewriteEngine On
RewriteRule ^typo3$ - [L]
RewriteRule ^typo3/.*$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-l
RewriteRule .* index.php
3. Добавил в TypoScript Setup следующие строки:
config.simulateStaticDocuments = 0
config.baseURL = 1
config.tx_realurl_enable = 1
При запуске просмотра теперь следующая ошибка:
Error!
Unsupported TypoScript property was found in this template: "config.baseURL="1"
This setting has been deprecated in TYPO 3.8.1 due to security concerns.
You need to change this value to the URL of your website root, otherwise TYPO3 will not work!
See wiki.typo3.org/index.php/TYPO3_3.8.1 for more information.
Подскажите пожалуйста, как правильно настроить эту функцию.
|