Hi. If LIMIT_TO_DIRECTORY is true then you need to have an ending slash to stay within that directory:
e.g., http://quito.citipro.fr/documents/lolo/ (only indexes documents within documents/lolo/)
e.g., http://quito.citipro.fr/documents/lolo2/lolo3/ (only indexes documents within documents/lolo2/lolo3/)
PHP Code:
//for limit to directory, URL format must either have file at end or ending slash at end
//e.g., http://www.domain.com/dirs/ (WITH ending slash) or http://www.domain.com/dirs/dirs/index.php
define('LIMIT_TO_DIRECTORY',true); //limit index to given (sub)directory, no sub dirs of dirs are indexed