John Ainsworth wrote:
Hi,

is it possible to have a client which accesses Xindice via https? It seems that xmldb:xindice://server:port is always resolved to http://server:port. Is it possible to make it resolve to https://server:port?

How about the following:

Use a web server https protocol on your database server. E.g. for the Apache webserver, you could use:

ProxyPass         /xindice  http://localhost:8082/xindice
ProxyPassReverse  /xindice  http://localhost:8082/xindice

I use Tomcat as my servlet engine. Ensure that you something like

<snip>
<!-- Define a Proxied HTTP/1.1 Connector on port 8082 -->
<!-- See proxy documentation for more information about using this. -->

    <Connector port="8082"
               maxThreads="150" minSpareThreads="25" maxSpareThreads="75"
               enableLookups="false"
               acceptCount="100" debug="0" connectionTimeout="20000"
               proxyPort="80" disableUploadTimeout="true" />
</snip>

in your conf/server.xml.

I use this for other webapps, so I would assume that this works also for Xindice.

Additional security can be probably obtained with a proper configuration of your web server's firewall.


thanks John



--
Andre H. Juffer              | Phone: +358-8-553 1161
The Biocenter and            | Fax: +358-8-553-1141
    the Dep. of Biochemistry | Email: [EMAIL PROTECTED]
University of Oulu, Finland  | WWW: www.biochem.oulu.fi/Biocomputing/

Reply via email to