Hi!

In attachment is diff file and Configuration2.h Configuration2.c conf2.y
conf2.l
The last 4 should be placed in htdig3/htlib directory.

It support all syntax of old config and works with 
==================================
<server: gate.gc.lviv.ua>
 server_max_docs: 555555
 server_wait_time: 0
 max_hop_count: 888888
</server>

<server: http://www.gc.kiev.ua/>
 server_wait_time: 11
 asdf: fdsa
</server>

<url: http://gate.gc.lviv.ua/>
 max_doc_size: 123
</url>

<url: http://gate.gc.lviv.ua/norma/>
 max_doc_size: 321
</url>
===================================

The below options are now url-sensitive:
        max_doc_size
        http_proxy
        http_proxy_exclude
        authorization
        bad_extensions
        valid_extensions
        local_default_doc
        local_urls
        local_user_urls
        limit_normalized
        limit_urls_to
        bad_querystr
        exclude_urls
        remove_default_doc
        timeout

server-sensitive:
        allow_virtual_hosts
        server_max_docs
        server_wait_time



Unfortunally I tested not all options
There's a lot to do, but if this changes will in CVS it will be easier

Vadim Chekan.

------------------------------------
To unsubscribe from the htdig3-dev mailing list, send a message to
[EMAIL PROTECTED] containing the single word "unsubscribe" in
the SUBJECT of the message.

Reply via email to