Reverse proxy with apache2

13 views
Skip to first unread message

etri...@gmail.com

unread,
Apr 13, 2016, 4:50:37 AM4/13/16
to Neo4j
Hi,

I'm trying to configure a reverse proxy with apache2 for neo4j which is running on port 7470.
My neo4j version is 2.3.1.
I've setup this on my virtualhost :

RequestHeader set X-Forwarded-Proto "http"
RewriteEngine On
RewriteCond %{REQUEST_URI}/browser ^/browser              [NC,OR]
ProxyPass /ist http://127.0.0.1:7470/
ProxyPassReverse /ist http://127.0.0.1:7470/
ProxyPass /ist/data http://127.0.0.1:7470/db/data
ProxyPassReverse /ist/data http://127.0.0.1:7470/db/data

My problem is that I can't find any help on which RewriteCond I have to setup to avoid proxy error while requesting the URL ...
I've checked on many docs but people are only trying to setup a proxy and not a reverse proxy.
Can you help me with that ?

Kind regards

etri...@gmail.com

unread,
Apr 19, 2016, 3:33:34 AM4/19/16
to Neo4j
Hi,

Does anyone have an idea regarding this problem ?

Thanks in advance,
Kind regards
Reply all
Reply to author
Forward
0 new messages