According to Marcio Marchini:
> I'd like to index html files under /home/httpd/html/protected by
> pointing to this directory tree, but I'd like to have search results
> etc in htsearch show them as https://my-server.com/somepath/... This
> way I can index https-protected files in a very fast manner without
> having to have https support in htdig.
>
> I suppose this is possible, based on what I saw at
> http://www.htdig.org/mail/1999/10/0187.html
>
>
> Is this true ? I saw examples to replace http/https, but never
> local-path/https. I was wondering about indexing the files in the
> local file system & then adding the url around it ?
>
> Please cc me, as I am not subscribed to the list. If you just reply
> to the list I will not see the answer.
I've never tried it myself, as I don't have an HTTPS server to index, but
it should work. Use two settings of url_part_aliases, as described in
the e-mail above, to handle the URL renaming. In htdig, use local_urls
and local_urls_only to restrict htdig to local indexing. As long as you
stick to the file type allowed by local_urls (see the attrs.html document),
and you don't rely on automatic directory index generation (i.e. you have
appropriate, static index.html files everywhere where needed), it should
work just fine.
E.g.:
local_urls: http://my-server.com/=/home/httpd/html/protected/
local_urls_only: true
url_part_aliases: http:// *site
... and in the config for htsearch...
url_part_aliases: https:// *site
--
Gilles R. Detillieux E-mail: <[EMAIL PROTECTED]>
Spinal Cord Research Centre WWW: http://www.scrc.umanitoba.ca/~grdetil
Dept. Physiology, U. of Manitoba Phone: (204)789-3766
Winnipeg, MB R3E 3J7 (Canada) Fax: (204)789-3930
_______________________________________________
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