# # Alexander Barkov # # Sample fo HTDB virtual scheme usage # # I tested this to search through our web-board # at http://mysearch.udm.net/board.php?board=1 # wich is stored in MySQL database # DBHost localhost DBName wwwsearch DBUser foo DBPass bar DeleteBad no HTDBList SELECT concat('message.php?id=',id) FROM bar.messages HTDBDoc \ SELECT concat( \ 'HTTP/1.0 200 OK\\r\\n',\ 'Content-type: text/html\\r\\n',\ 'Last-Modified: ',Date_format(posted,'%a, %d %b %Y %T'),' GMT\\r\\n',\ '\\r\\n',\ '',\ '',subject,'',\ '',\ '\\n',\ '\\n',msg,'\\n'\ ) \ FROM bar.messages \ WHERE id='$1' Server http://mysearch.udm.net/ Alias http://mysearch.udm.net/message.php?id= htdb:/ Alias http://mysearch.udm.net/ htdb:/