- - - - - - - - - - - - - - - - - - - - - - - - - - - - Name: Maxime Subject: Re: Индексирование нескольких таблиц
Проблема в том, что у вас две одинаковые команды Server htdb:/ естественно дальше первой никогда не идет. Для случая двух таблиц конфиг может быть таким: Category 01 HTDBList "SELECT concat('http://url1/',id) FROM table1" HTDBDoc "SELECT concat( \ 'HTTP/1.0 200 OK\\r\\n',\ 'Content-type: text/html\\r\\n',\ 'Значимые поля' ) FROM table1 \ WHERE id='$2'" Realm http://url1* Alias http://url1 htdb:/1 Server htdb:/1/ Category 02 HTDBList "SELECT concat('url2/',id) FROM table2" HTDBDoc "SELECT concat( \ 'HTTP/1.0 200 OK\\r\\n',\ 'Content-type: text/html\\r\\n',\ 'значимые поля') \ FROM table2 \ WHERE id='$2'" Realm http://url2* Alias http://url2 htdb:/2 Server htdb:/2/ - - - - - - - - - - - - - - - - - - - - - - - - - - - - Read the full topic here: http://www.dataparksearch.org/cgi-bin/simpleforum.cgi?fid=05;topic_id=1206968690