On Thu, 2 Dec 2004, David Adams wrote:
The description of allow_virtual_hosts is:
"If set to true, htdig will index virtual web sites as expected. If false, all URL host names will be normalized into whatever the DNS server claims the IP address to map to. If this option is set to false, there is no way to index either "soft" or "hard" virtual web sites."
What that means is not clear to me, for example, what does "as expected" mean? As expected by who? One thing I do know: my configuration files do not include an allow_virtual_hosts statement and yet I am successfully indexing all our virtual servers.
I think "as expected" means that htdig does much the same thing a browser would do when a request is made against a virtual host. That includes connecting to the server and passing the host name in the request header so that the server knows which virtual host the request is for.
When this attribute is set to false htdig does a DNS lookup on the host name and replaces that name with the corresponding IP address. The IP address is then used in place of the host name for requests. This effectively disables the normal functionality of name based virtual hosting since the server now has no way of knowing which virtual domain the request is associated with.
However what this has to do with the reported problem is not clear. The OP stated that allow_virtual_hosts was set to true. This is the default setting and removing it should have made no difference unless something else changed at the same time it was removed. One of those mysteries I guess...
Jim
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/
_______________________________________________
ht://Dig general mailing list: <[EMAIL PROTECTED]>
ht://Dig FAQ: http://htdig.sourceforge.net/FAQ.html
List information (subscribe/unsubscribe, etc.)
https://lists.sourceforge.net/lists/listinfo/htdig-general