# Kibana with Apache Proxy using http://localhost:5601/kibana

**URL:** <https://discuss.elastic.co/t/kibana-with-apache-proxy-using-http-localhost-5601-kibana/29933>\
**Category:** Kibana\
**Created:** [September 24, 2015, 5:18pm UTC](https://discuss.elastic.co/t/kibana-with-apache-proxy-using-http-localhost-5601-kibana/29933 "2015-09-24T17:18:57Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![dlb1001](https://avatars.discourse-cdn.com/v4/letter/d/ce7236/32.png) [@dlb1001](https://discuss.elastic.co/u/dlb1001)\
**Post date:** [September 24, 2015, 5:18pm UTC](https://discuss.elastic.co/t/kibana-with-apache-proxy-using-http-localhost-5601-kibana/29933/1 "2015-09-24T17:18:57Z")

</div>

Hello,

I'd like to start use kibana with a reverse proxy through apache. By itself, thats not really an issue, I can do that. What I'm having trouble with is how to serve kibana out of a directory for example:

Kibana:  
[http://localhost:5601/kibana](http://localhost:5601/kibana)

Any help would be greatly appreciated. Here is what I have for the apache configuration. Due to our environment this is a requirement extra folder is a requirement.

```
<Location /kibana/>
	ProxyPass http://localhost:5601/kibana
	ProxyPassReverse http://localhost:5601/kibana
</Location>

```

Thank you

---

<div class="post-metadata">

**Author:** ![magnusbaeck](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/magnusbaeck/32/44943_2.png) [@magnusbaeck](https://discuss.elastic.co/u/magnusbaeck)\
**Post date:** [September 24, 2015, 5:20pm UTC](https://discuss.elastic.co/t/kibana-with-apache-proxy-using-http-localhost-5601-kibana/29933/2 "2015-09-24T17:20:53Z")

</div>

The URL on the ProxyPass/ProxyPassReverse lines shouldn't end with /kibana. This should work:

```
<Location /kibana/>
	ProxyPass http://localhost:5601/
	ProxyPassReverse http://localhost:5601/
</Location>
```

---

<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, 2:12pm UTC](https://discuss.elastic.co/t/kibana-with-apache-proxy-using-http-localhost-5601-kibana/29933/3 "2017-07-06T14:12:31Z")

</div>


