Показать сообщение отдельно
Старый 02.03.2011, 12:11   #7
dmartynenko
Senior Member
 
Аватар для dmartynenko
 
Регистрация: 20.07.2007
Адрес: Беларусь, Минск
Сообщений: 957
Отправить сообщение для dmartynenko с помощью ICQ
По умолчанию

А кто будь читал мануал для RealURL?

Цитата:
defaultToHTMLsuffixOnPrev
boolean/string
If set, then the last directory part of the virtual path being made will be turned into the filename suffixed “.html” IF the filename part is non-existing.
For example, “workplace-learning-solutions/companion-solutions/” would be turned into “workplace-learning-solutions/companion-solutions.html” and the basepart of the filename (stripping the “.html” extension) will still be perceived as the last part of the virtual path.
This approach is useful if you want to simulate HTML documents even if you don't configure any fileName mappings.
If set to string, that string will be used as suffix. Notice that leading dot is mandatory (i.e. valid suffix is “.html”, not just “html”)
defaultToHTMLsuffixOnPrev может быть либо 0/1, либо строкой начинающейстя с точки (например ".html" или ".htm").
dmartynenko вне форума   Ответить с цитированием