On Sat, 10 Apr 2004, Eric Damron wrote:

> 0:2:0:http://localhost/~redwards: Making HTTP request on 
> http://localhost/~redwards
> Request time: 0 secs
>  redirect
> redirect: http://127.0.0.1/~redwards/
> 
>    Rejected: URL not in the limits!pick: localhost, # servers = 1
> 
> 
> How can I tell htdig not to redirect localhost??

I am not sure that you can. In this case I believe that htdig is doing
exactly what it is supposed to be doing. It is your web server that is
telling htdig that it is supposed to redirect; htdig would be broken if
it ignored such requests.

To work around the problem, you might try specifying your start_url as
http://localhost/~redwards/ rather than http://localhost/~redwards (note
the trailing slash). It might be the absence of the trailing slash that
is triggering the redirect in the first place.

In order to determine why localhost is being changed to 127.0.0.1 as
part of the redirect, you will probably need to look at the index file
in /~redwards and/or your web server configuration.

If you don't care whether pages are indexed as being on localhost or
127.0.0.1, you could try adding both to your limit_urls_to attribute.

Jim


-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
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

Reply via email to