Ещё приколола такая тема из доки mod_rewrite.
Note thatmod_rewritetries to guess whether you have specified a file-system path or a URL-path by checking to see if the first segement of the path exists at the root of the file-system. For example, if you specify a Substitution string of/www/file.html, then this will be treated as a URL-path unless a directory namedwwwexists at the root or your file-system, in which case it will be treated as a file-system path.
Т. е. mod_rewrite пытается угадать (!), что я имел ввиду в Substitution из RewriteRule. Не очень внятно для доки такого серьёзного и важного модуля.
Если немного обобщить, то можно сказать, что плохая документация (или её полное отсутствие) - беда многих (наверно даже большинства) opensource-проектов. Мол, нужно детальнее в чём-то разобраться - смотри исходники.
Комментариев нет:
Отправить комментарий