We're just getting up to speed with using apachesolr, and for security concerns we need it to at least be behind HTTP basic auth (this is the mechanism we currently have in place for our other Solr instances). I've set the Solr host name in apachesolr config as follows: solr:&;ltpass>@solr01 However, apachesolr can't communicate with the Solr instance if I set it up like this.

Comments

anarchivist’s picture

Issue tags: +authentication, +http, +auth, +Security
JacobSingh’s picture

Hi,

this sounds like a good feature to add upstream in the solrphpclient.

http://code.google.com/p/solr-php-client/

If that make sense, please post a patch there and close this issue.

Best,
Jacob

pwolanin’s picture

@Jacob - aren't we overriding the get and post methods already? Or are you thinking these should come in when you constuct the solr service object?

JacobSingh’s picture

We could put it in our implementation, but it seems like the client lib would like this feature too.

Best,
Jacob

pwolanin’s picture

Yes, some provision for it in the base client library would be a good starting point.

anarchivist’s picture

I've submitted this as a bug to the SolrPhpClient tracker on Google Code: http://code.google.com/p/solr-php-client/issues/detail?id=4

anarchivist’s picture

Version: 6.x-1.0-beta2 » 6.x-1.x-dev

Changing version to 6.x-1.x-dev.

anarchivist’s picture

Status: Active » Fixed

Seems to be working as of beta8 and r6 of SolrPhpClient.

pwolanin’s picture

Status: Fixed » Closed (fixed)