Hi Ernest,

> Hi there, i tryed to compile the beta 3.2 htdig, but without setting
> "setenv CPPFLAGS -I/usr/include/openssl" configure didn't find ssl.h and
> htdig tryed to access https sites trough plain HTTP protocol. After
> setting CPPFLAGS, configure found ssl.h and the prog compiled without
> errors. But when I run in on an https site it allways dumps core. Here
> is an example of configuring and running.

Are you able to use the ssl_client directly to contact your ssl enabled 
server.  (I can't remember the exact script name, but OpenSSL comes with a 
tool with which you can connect to an ssl enabled server.  I think there 
is mention of this in the build notes for 3.2.)  If you are able to 
connect then let me know and I can look into this further.  Otherwise your 
SSL install is busted.  

Hope that helps,
        Joshua

> #############################################
>   #> setenv CPPFLAGS -I/usr/include/openssl
>   #> ./configure --with-ssl
>   #> make
>   #> cd htdig
>   #> ./htdig -ivvv -c intranet.conf
> 
> ht://dig Start Time: Sun Mar 10 21:20:47 2002
>          1:1:https://www.pobox.sk/
> New server: www.pobox.sk, 443
>   - Persistent connections: enabled
>   - HEAD before GET: disabled
>   - Timeout: 30
>   - Connection space: 0
>   - Max Documents: -1
>   - TCP retries: 1
>   - TCP wait time: 5
>   - Accept-Language:
> Trying to retrieve robots.txt file
> Making HTTPS request on https://www.pobox.sk/robots.txt
> Header line: HTTP/1.1 404 Not Found
> Header line: Date: Sun, 10 Mar 2002 20:22:36 GMT
> Header line: Server: Apache/1.3.19 (Unix) mod_ssl/2.8.3 OpenSSL/0.9.4 
> mod_redir/1.2.0 mod_eparse/0.0.3 mod_dict/2.0.1
> Header line: Connection: close
> Header line: Transfer-Encoding: chunked
> Header line: Content-Type: text/html; charset=iso-8859-1
> Request time: 1 secs
>   pushed
> pick: www.pobox.sk, # servers = 1
>  > www.pobox.sk supports HTTP persistent connections (infinite)
> 0:2:0:https://www.pobox.sk/: Making HTTPS request on https://www.pobox.sk/
> Segmentation fault (core dumped)
> 
> 
> #############################################
> and my intranet.conf:
> 
> database_dir:           /tmp
> start_url:              https://www.pobox.sk
> limit_urls_to:          ${start_url}
> exclude_urls:           /cgi-bin/ .cgi
> bad_extensions:         .wav .gz .z .sit .au .zip .tar .hqx .exe .com .gif \
>          .jpg .jpeg .aiff .class .map .ram .tgz .bin .rpm .mpg .mov .avi 
> .css
> maintainer:             [EMAIL PROTECTED]
> max_head_length:        10000
> max_doc_size:           500000
> no_excerpt_show_top:    true
> search_algorithm:       exact:1 synonyms:0.5 endings:0.1
> 
> #############################################
>   > ldd .libs/lt-htdig
>          libhtnet-3.2.0.so => 
> /usr/src/htdig-3.2.0b4-20020310/htnet/.libs/libhtnet-3.2.0.so
>          libz.so.1 => /lib/libz.so.1 (0x4004c000)
>          libssl.so.0 => /usr/lib/libssl.so.0 (0x4005b000)
>          libcrypto.so.0 => /usr/lib/libcrypto.so.0 (0x40088000)
>          libcommon-3.2.0.so => 
> /usr/src/htdig-3.2.0b4-20020310/htcommon/.libs/libcommon-3.2.0.so
>          libhtword-3.2.0.so => 
> /usr/src/htdig-3.2.0b4-20020310/htword/.libs/libhtword-3.2.0.so
>          libht-3.2.0.so => 
> /usr/src/htdig-3.2.0b4-20020310/htlib/.libs/libht-3.2.0.so
>          libhtdb-3.2.0.so => 
> /usr/src/htdig-3.2.0b4-20020310/db/.libs/libhtdb-3.2.0.so
>          libstdc++.so.3 => /usr/lib/libstdc++.so.3 (0x40262000)
>          libm.so.6 => /lib/libm.so.6 (0x402f9000)
>          libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x4031b000)
>          libc.so.6 => /lib/libc.so.6 (0x40323000)
>          libdl.so.2 => /lib/libdl.so.2 (0x40460000)
>          /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
> 
> 


_______________________________________________
htdig-general mailing list <[EMAIL PROTECTED]>
To unsubscribe, send a message to <[EMAIL PROTECTED]> with a 
subject of unsubscribe
FAQ: http://htdig.sourceforge.net/FAQ.html

Reply via email to