Re: [htdig] Indexing a secure web server (SSL)


Beat Jucker (bj@glue.ch)
Wed, 26 May 1999 11:48:16 +0200 (MET DST)


I didn't got an answer so here is my solution:

> I have read the maillist and found out, that indexing a secure web server
> (SSL) isn't yet possible.
>
> If this is still the truth than I could think about following approach:
>
> - using a limited regular HTTP connection to indexing the webserver
> - using a htsearch wrapper which substitutes http://x.y.z with https://x.y.z
>
> How did you solve the HTTPS problem on your site?

#!/usr/bin/sh
# ----------------------------------------------------------------------
# htserach.sh: wrapper for SSL access (htdig can't index SSL sites)
# ----------------------------------------------------------------------
# Mon May 24 11:42:30 MET DST 1999 Beat Jucker <bj@glue.ch>

HTSEARCH="/www/cgi-bin/htsearch"
HTTP="http://www.x.y/"
HTTPS="https://www.x.y/"

case "${SSL_PROTOCOL:-unknown}" in

   SSL*) exec $HTSEARCH $* | sed -e "s!$HTTP!$HTTPS!g" ;;
   *) exec $HTSEARCH $* ;;

esac

Regards,
Beat Jucker

--
   ________    __  _____________________________________________________
  / ____/ /   / / / / ____/ GLUE Software Engineering AG      bj@glue.ch
 / / __/ /   / / / / __/    Zieglerstr. 34             Natel:079-4102778
/ /_/ / /___/ /_/ / /___    CH-3007 Bern             Fax:(+41)31-3853018
\____/_____/\____/_____/____http://www.glue.ch/    Phone:(+41)31-3853011
------------------------------------
To unsubscribe from the htdig mailing list, send a message to
htdig@htdig.org containing the single word "unsubscribe" in
the SUBJECT of the message.



This archive was generated by hypermail 2.0b3 on Wed May 26 1999 - 02:05:36 PDT