[ 
https://issues.apache.org/jira/browse/CONNECTORS-1564?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16747880#comment-16747880
 ] 

Erlend Garåsen commented on CONNECTORS-1564:
--------------------------------------------

[~michael-o], reverse proxy seems to be the case. Here's something from the 
Solr server's httpd.conf file:

{{<IfModule proxy_module>}}
{{  <IfModule proxy_http_module>}}
{{    ProxyRequests Off}}
{{    Timeout 1200}}
{{    # Generally all proxied Solr-URLs require authentication:}}
{{    <Location "/solr">}}
{{        Order Deny,Allow}}
{{        Deny from all}}
{{        […]}}
{{        AuthType Basic}}
{{        […]}}
{{    </Location>}}
{{    ProxyPass /solr/ http://127.0.0.1:8983/solr/ retry=5 timeout=1200 ttl=30}}
{{    ProxyPassReverse /solr/ http://127.0.0.1:8983/solr/}}
{{    </IfModule>}}
{{</IfModule>}}

> Support preemptive authentication to Solr connector
> ---------------------------------------------------
>
>                 Key: CONNECTORS-1564
>                 URL: https://issues.apache.org/jira/browse/CONNECTORS-1564
>             Project: ManifoldCF
>          Issue Type: Improvement
>          Components: Lucene/SOLR connector
>            Reporter: Erlend Garåsen
>            Assignee: Karl Wright
>            Priority: Major
>         Attachments: CONNECTORS-1564.patch
>
>
> We should post preemptively in case the Solr server requires basic 
> authentication. This will make the communication between ManifoldCF and Solr 
> much more effective instead of the following:
>  * Send a HTTP POST request to Solr
>  * Solr sends a 401 response
>  * Send the same request, but with a "{{Authorization: Basic}}" header
> With preemptive authentication, we can send the header in the first request.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to