This has to be done in the servlet container, not in Solr. Most servlet containers have options to do this kind of control.
But! You have to add a different entry point for every query handler you configure. On Mon, May 10, 2010 at 8:47 AM, Tommy Chheng <tommy.chh...@gmail.com> wrote: > Is there a way to configure solr to only allow readonly access for all > external hosts except when the request is coming from localhost? > > ex. solr-server.com:8983/solr/select is read-only accessible from remote > server and the remote server is not allow to do any update/delete POST > actions. > > -- > Tommy Chheng > Programmer and UC Irvine Graduate Student > Twitter @tommychheng > http://tommy.chheng.com > > -- Lance Norskog goks...@gmail.com