0

I have a URL:

http://ip:9200/_plugin/head/

I want to open that URL when I visit:

http://ip/es-head

How do I do that in Apache?

2

You need to use mod_proxy. Apache configuration would look like this:

ProxyPass /es-head/ http://ip:9200/_plugin/head/
ProxyPassReverse /es-head/ http://ip:9200/_plugin/head/

Apache manual has some examples.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.