Hi Geoff

Thanx for the quick answer. You're assumption is right!!!!

(Shouldn't htdig understand a bit javascript??)

Thanx, Ruedi

_______________________

The file:

<HTML>
<SCRIPT LANGUAGE="JavaScript">
  <!--
  if (navigator.userAgent.indexOf("MSIE")!=-1) {
  window.location.replace("framems.html");
  }
  else
  {window.location.replace("framenav.html");
  }
  //-->
</SCRIPT>
</HTML>


_______________________

Output from /opt/www/htdig/bin/htdig -vvvv -c /opt/www/htdig/conf/susedig.conf  -i:


        1:0:http://linux01.hasler.ascom.ch/
New server: linux01.hasler.ascom.ch, 80
Retrieval command for http://linux01.hasler.ascom.ch/robots.txt: GET /robots.txt 
HTTP/1.0
User-Agent: htdig/3.1.5 ([EMAIL PROTECTED])
Host: linux01.hasler.ascom.ch

Header line: HTTP/1.1 200 OK
Header line: Date: Fri, 08 Sep 2000 06:13:32 GMT
Header line: Server: Apache/1.3.6 (Unix)  (SuSE/Linux) mod_perl/1.19 PHP/3.0.11
Header line: Last-Modified: Wed, 06 Sep 2000 11:03:24 GMT
Translated Wed, 06 Sep 2000 11:03:24 GMT to 2000-09-06 11:03:24 (100)
And converted to Wed, 06 Sep 2000 11:03:24
Header line: ETag: "22c80b-9d-39b6247c"
Header line: Accept-Ranges: bytes
Header line: Content-Length: 157
Header line: Connection: close
Header line: Content-Type: text/plain
Header line: 
returnStatus = 0
Read 157 from document
Read a total of 157 bytes
Parsing robots.txt file using myname = susedig
Robots.txt line: # exclude help system from robots
Robots.txt line: User-agent: *
Found 'user-agent' line: *
Robots.txt line: Disallow: /hilfe/ /manual/ /support-db/ /gif/
Found 'disallow' line: /hilfe/ /manual/ /support-db/ /gif/
Robots.txt line: # but allow htdig to index our doc-tree
Robots.txt line: User-agent: susedig   
Found 'user-agent' line: susedig
Pattern: 
 pushed
pick: linux01.hasler.ascom.ch, # servers = 1
0:0:0:http://linux01.hasler.ascom.ch/: Retrieval command for 
http://linux01.hasler.ascom.ch/: GET / HTTP/1.0
User-Agent: htdig/3.1.5 ([EMAIL PROTECTED])
Host: linux01.hasler.ascom.ch

Header line: HTTP/1.1 200 OK
Header line: Date: Fri, 08 Sep 2000 06:13:32 GMT
Header line: Server: Apache/1.3.6 (Unix)  (SuSE/Linux) mod_perl/1.19 PHP/3.0.11
Header line: Last-Modified: Fri, 25 Aug 2000 09:51:54 GMT
Translated Fri, 25 Aug 2000 09:51:54 GMT to 2000-08-25 09:51:54 (100)
And converted to Fri, 25 Aug 2000 09:51:54
Header line: ETag: "22c9b1-1eb-39a641ba"
Header line: Accept-Ranges: bytes
Header line: Content-Length: 491
Header line: Connection: close
Header line: Content-Type: text/html
Header line: 
returnStatus = 0
Read 491 from document
Read a total of 491 bytes
Tag: HTML>, matched -1
Tag: HEAD>, matched -1
Tag: TITLE>, matched 0
Tag: /TITLE>, matched 1

title: 
Tag: META NAME="GENERATOR" CONTENT="StarOffice/5.1 (Linux)">, matched 20
Tag: META NAME="AUTHOR" CONTENT="Ruedi Hofer">, matched 20
Tag: META NAME="CREATED" CONTENT="20000806;19565200">, matched 20
Tag: META NAME="CHANGED" CONTENT="16010101;0">, matched 20
Tag: /HEAD>, matched -1
Tag: body  bgcolor="#FFFFFF">, matched -1
Tag: SCRIPT LANGUAGE="JavaScript">, matched -1
Tag: /SCRIPT>, matched -1
Tag: /body>, matched -1
Tag: /HTML>, matched -1
 size = 491
pick: linux01.hasler.ascom.ch, # servers = 1
htdig: Run complete
htdig: 1 server seen:
htdig:     linux01.hasler.ascom.ch:80 1 document







[EMAIL PROTECTED] on 07.09.2000 18:14:57
An: [EMAIL PROTECTED] @ MailGate
Kopie: [EMAIL PROTECTED] @ MailGate 
Thema: Re: [htdig] "[htdig] DB2 problem ...: missing or empty key value specified"

On Thu, 7 Sep 2000, Hofer Ruedi wrote:

> linux01:~ #  /opt/www/htdig/bin/htmerge -vvvv -s -c
> /opt/www/htdig/conf/susedig.conf
> htmerge: Sorting...
> DB2 problem...: missing or empty key value specified
> 
> htmerge: Total word count: 0
> 0/http://linux01/

The error message is a bit cryptic, in part because htmerge doesn't do any
error checking for empty databases.

Your problem is that nothing was indexed--see the "total word count 0"
bit? So you can solve your problem by seeing why htdig didn't index
anything. Try running htdig -vvvv and taking a look at the HTTP messages
among other things.

--
-Geoff Hutchison
Williams Students Online
http://wso.williams.edu/




------------------------------------
To unsubscribe from the htdig mailing list, send a message to
[EMAIL PROTECTED]
You will receive a message to confirm this.
List archives:  <http://www.htdig.org/mail/menu.html>
FAQ:            <http://www.htdig.org/FAQ.html>

Reply via email to