Hi Everyone, I don't mean to hijack this thread, but I have auth issues that maybe related to this topic.
I'm on 5.2.1 and trying to setup basic auth using jetty realm per https://wiki.apache.org/solr/SolrSecurity#Jetty_realm_example And I found other examples on the web which are very similar to the above link. In addition, I found Jetty's own basic auth setting at: http://wiki.eclipse.org/Jetty/Tutorial/Realms Problem is, no matter what I do I cannot get it to work, I get HTTP Error 404 when I try to access Solr's URL and when I look in C:\Solr\solr-5.2.1\server\logs\solr.log this is all that I see: INFO - 2015-07-20 02:16:12.065; [ ] org.eclipse.jetty.util.log.Log; Logging initialized @286ms INFO - 2015-07-20 02:16:12.231; [ ] org.eclipse.jetty.server.Server; jetty-9.2.10.v20150310 WARN - 2015-07-20 02:16:12.240; [ ] org.eclipse.jetty.server.handler.RequestLogHandler; !RequestLog INFO - 2015-07-20 02:16:12.255; [ ] org.eclipse.jetty.server.AbstractConnector; Started ServerConnector@5a5fae16 {HTTP/1.1}{0.0.0.0:8983} INFO - 2015-07-20 02:16:12.256; [ ] org.eclipse.jetty.server.Server; Started @478ms Just to be clear, the example at https://wiki.apache.org/solr/SolrSecurity#Jetty_realm_example states to modify the file in /example/etc/webdefault.xml and in /example/etc/jetty.xml, but with Solr 5.2.1, those two files are in C:\solr-5.2.1\server\etc\webdefault.xml and C:\solr-5.2.1\server\etc\jetty.xml Lastly, I'm doing the above on Windows. Thanks Steve On Sun, Jul 19, 2015 at 2:20 PM, Erick Erickson <erickerick...@gmail.com> wrote: > You're mixing up a couple of things. The Drupal is specific to, well, > Drupal. You'd probably be best off asking about that on the Drupal > lists. > > SOLR-4470 has not been committed yet, so you can't really use it. This > may have been superceded by SOLR-7274 and there's a link to the Wiki > that points to: > https://cwiki.apache.org/confluence/display/solr/Security > > This is all quite new, not sure how much is written in the way of docs. > > Best, > Erick > > On Sun, Jul 19, 2015 at 9:35 AM, <solr.user.1...@gmail.com> wrote: > > I followed this guide: > > > http://learnsubjects.drupalgardens.com/content/how-place-http-authentication-solr > > > > But there is some something wrong, can anyone help or refer to a guide > on how to setup http basic auth? > > > > Regards > > > >> On 19 Jul 2015, at 01:10, solr.user.1...@gmail.com wrote: > >> > >> SOLR-4470 is about: > >> Support for basic auth in internal Solr requests. > >> > >> What is wrong with the internal requests? > >> Can someone help simplify, would it ever be possible to run with basic > auth? What work arounds? > >> > >> Regards >