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?
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.