How to reverse proxy ntop with apache 2

…if your ntop is running on the standard http port of 3000. Note this requires mod_proxy_html, which is not a standard part of Apache.
Create a conf file /etc/httpd/conf.d/ntop.conf

ProxyPass /ntop/ http://localhost:3000/
ProxyPassReverse /ntop/ http://localhost:3000/

# for ntop proxying
<Location /ntop>
SetOutputFilter  proxy-html
ProxyHTMLURLMap / /ntop/
ProxyHTMLURLMap /ntop/plugins/ntop/ /ntop/plugins/
RequestHeader    unset  Accept-Encoding
</Location>

Popularity: 25% [?]

2 Responses to “How to reverse proxy ntop with apache 2”

  1. Thank you!!!!!! You’ve saved me a headache!

  2. TJN says:

    Adding ProxyHTMLExtended on in Location section will fix javascript redirection

Leave a Reply

*