# ES 1.4.2 behind httpd 2.2 proxypass

**URL:** <https://discuss.elastic.co/t/es-1-4-2-behind-httpd-2-2-proxypass/21873>\
**Category:** Elasticsearch\
**Created:** [January 28, 2015, 12:21pm UTC](https://discuss.elastic.co/t/es-1-4-2-behind-httpd-2-2-proxypass/21873 "2015-01-28T12:21:10Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Andrei\_Staicu](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/andrei_staicu/32/953_2.png) [@Andrei\_Staicu](https://discuss.elastic.co/u/Andrei_Staicu)\
**Post date:** [January 28, 2015, 12:21pm UTC](https://discuss.elastic.co/t/es-1-4-2-behind-httpd-2-2-proxypass/21873/1 "2015-01-28T12:21:10Z")

</div>

Hi,

I'm trying to protect an ES 1.4.2 install. For this I have a httpd 2.2,  
which redirects everything to ssl, does ldap auth and has the following  
proxypass:  
ProxyPass /elasticsearch [http://127.0.0.1:9200/](http://127.0.0.1:9200/)  
ProxyPassReverse /elasticsearch [http://127.0.0.1:9200/](http://127.0.0.1:9200/)

In this configuration:  
kibana works  
[http://host:9200/\_plugin/head/](http://host:9200/_plugin/head/) works  
[https://host/elasticsearch](https://host/elasticsearch) returns the node info

but

[https://host/elasticsearch/\_plugin/head](https://host/elasticsearch/_plugin/head) returns  
{"error":"ElasticsearchIllegalArgumentException[No feature for name  
[head]]","status":400}  
In ssl\_error\_log I have End of file found: SSL input filter read failed.

Could you tell me what am I doing wrong, or where could I start debugging  
this?

Thanks.

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/9fd31305-07bd-4346-a2c9-359bf2e26411%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/9fd31305-07bd-4346-a2c9-359bf2e26411%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![jprante](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jprante/32/44941_2.png) [@jprante](https://discuss.elastic.co/u/jprante)\
**Post date:** [January 28, 2015, 12:34pm UTC](https://discuss.elastic.co/t/es-1-4-2-behind-httpd-2-2-proxypass/21873/2 "2015-01-28T12:34:46Z")

</div>

Take care of pruning the URI path '/elasticsearch/' and do not forget to  
add trailing slashes, so

[https://host/elasticsearch/\_plugin/head/](https://host/elasticsearch/_plugin/head/)

is proxied to

[http://host:9200/\_plugin/head/](http://host:9200/_plugin/head/)

Jörg

On Wed, Jan 28, 2015 at 1:21 PM, Andrei Staicu [andrei.staicu@gmail.com](mailto:andrei.staicu@gmail.com)  
wrote:

> Hi,
> 
> I'm trying to protect an ES 1.4.2 install. For this I have a httpd 2.2,  
> which redirects everything to ssl, does ldap auth and has the following  
> proxypass:  
> ProxyPass /elasticsearch [http://127.0.0.1:9200/](http://127.0.0.1:9200/)  
> ProxyPassReverse /elasticsearch [http://127.0.0.1:9200/](http://127.0.0.1:9200/)
> 
> In this configuration:  
> kibana works  
> [http://host:9200/\_plugin/head/](http://host:9200/_plugin/head/) works  
> [https://host/elasticsearch](https://host/elasticsearch) returns the node info
> 
> but
> 
> [https://host/elasticsearch/\_plugin/head](https://host/elasticsearch/_plugin/head) returns  
> {"error":"ElasticsearchIllegalArgumentException[No feature for name  
> [head]]","status":400}  
> In ssl\_error\_log I have End of file found: SSL input filter read failed.
> 
> Could you tell me what am I doing wrong, or where could I start debugging  
> this?
> 
> Thanks.
> 
> --  
> You received this message because you are subscribed to the Google Groups  
> "elasticsearch" group.  
> To unsubscribe from this group and stop receiving emails from it, send an  
> email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
> To view this discussion on the web visit  
> [https://groups.google.com/d/msgid/elasticsearch/9fd31305-07bd-4346-a2c9-359bf2e26411%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/9fd31305-07bd-4346-a2c9-359bf2e26411%40googlegroups.com)  
> [https://groups.google.com/d/msgid/elasticsearch/9fd31305-07bd-4346-a2c9-359bf2e26411%40googlegroups.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/9fd31305-07bd-4346-a2c9-359bf2e26411%40googlegroups.com?utm_medium=email&utm_source=footer)  
> .  
> For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/CAKdsXoF%2Bh5CMQc9u\_2RHdfEgqR8mSjvdqc%3DiJy\_QMzg0k4qT7w%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CAKdsXoF%2Bh5CMQc9u_2RHdfEgqR8mSjvdqc%3DiJy_QMzg0k4qT7w%40mail.gmail.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![Andrei\_Staicu](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/andrei_staicu/32/953_2.png) [@Andrei\_Staicu](https://discuss.elastic.co/u/Andrei_Staicu)\
**Post date:** [January 28, 2015, 1:42pm UTC](https://discuss.elastic.co/t/es-1-4-2-behind-httpd-2-2-proxypass/21873/3 "2015-01-28T13:42:30Z")

</div>

Thanks,

It seems to work with  
ProxyPass /elasticsearch/ [http://127.0.0.1:9200/](http://127.0.0.1:9200/)  
ProxyPassReverse /elasticsearch/ [http://127.0.0.1:9200/](http://127.0.0.1:9200/)

On Wednesday, January 28, 2015 at 2:34:58 PM UTC+2, Jörg Prante wrote:

> Take care of pruning the URI path '/elasticsearch/' and do not forget to  
> add trailing slashes, so
> 
> [https://host/elasticsearch/\_plugin/head/](https://host/elasticsearch/_plugin/head/)
> 
> is proxied to
> 
> [http://host:9200/\_plugin/head/](http://host:9200/_plugin/head/)
> 
> Jörg
> 
> On Wed, Jan 28, 2015 at 1:21 PM, Andrei Staicu \<[andrei...@gmail.com](mailto:andrei...@gmail.com)  
> \<javascript:\>\> wrote:
> 
> > Hi,
> > 
> > I'm trying to protect an ES 1.4.2 install. For this I have a httpd 2.2,  
> > which redirects everything to ssl, does ldap auth and has the following  
> > proxypass:  
> > ProxyPass /elasticsearch [http://127.0.0.1:9200/](http://127.0.0.1:9200/)  
> > ProxyPassReverse /elasticsearch [http://127.0.0.1:9200/](http://127.0.0.1:9200/)
> > 
> > In this configuration:  
> > kibana works  
> > [http://host:9200/\_plugin/head/](http://host:9200/_plugin/head/) works  
> > [https://host/elasticsearch](https://host/elasticsearch) returns the node info
> > 
> > but
> > 
> > [https://host/elasticsearch/\_plugin/head](https://host/elasticsearch/_plugin/head) returns  
> > {"error":"ElasticsearchIllegalArgumentException[No feature for name  
> > [head]]","status":400}  
> > In ssl\_error\_log I have End of file found: SSL input filter read failed.
> > 
> > Could you tell me what am I doing wrong, or where could I start debugging  
> > this?
> > 
> > Thanks.
> > 
> > --  
> > You received this message because you are subscribed to the Google Groups  
> > "elasticsearch" group.  
> > To unsubscribe from this group and stop receiving emails from it, send an  
> > email to [elasticsearc...@googlegroups.com](mailto:elasticsearc...@googlegroups.com) \<javascript:\>.  
> > To view this discussion on the web visit  
> > [https://groups.google.com/d/msgid/elasticsearch/9fd31305-07bd-4346-a2c9-359bf2e26411%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/9fd31305-07bd-4346-a2c9-359bf2e26411%40googlegroups.com)  
> > [https://groups.google.com/d/msgid/elasticsearch/9fd31305-07bd-4346-a2c9-359bf2e26411%40googlegroups.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/9fd31305-07bd-4346-a2c9-359bf2e26411%40googlegroups.com?utm_medium=email&utm_source=footer)  
> > .  
> > For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/ebaf3417-e7e0-4a81-9d4d-79434804e9ba%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/ebaf3417-e7e0-4a81-9d4d-79434804e9ba%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [July 6, 2017, 12:36am UTC](https://discuss.elastic.co/t/es-1-4-2-behind-httpd-2-2-proxypass/21873/4 "2017-07-06T00:36:10Z")

</div>


