All anyone knows - except for the few who have done it - is in the FAQ entry
on this.
-----Burton 

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of
Giovanni
Sent: Wednesday, May 24, 2006 11:18 AM
To: [email protected]
Subject: [Ntop] reverse-proxy on ntop


Hello, I used apache2 to reverse-proxy ntop.

It's a good and working config (after that I'll put it on wiki) but need to
be refined a bit: no dir /plugins/... are visible.

So when I do: http://pippo/ntop  I see everything, graphics, numbers, hosts
graphics..
es: /ntop/sortDataThpt.html
     /ntop/172.16.0.1.html
     /ntop/showPlugins.html?icmpWatch

all EXCEPT pages that start whith dir "/plugins" like /plugins/LastSeen
/plugins/icmpWatch

Can't see them, i receive this error:

#######
Error 404
The server cannot find the requested page (page expired or ntop
configuration ?).
Received request:
    "GET /plugins/ntop/icmpWatch HTTP/1.1"
#######

Why???


THIS IS MY CONFIGURATION:

#### NTOP (PROXY REVERSE) on virtual host ########
#####         APACHE 2 AND NTOP 3.2   ###########

ProxyHTMLLogVerbose On
LogLevel warn
ProxyHTMLExtended On

ProxyRequests Off
<Proxy *>
Order deny,allow
Allow from all
</Proxy>

#RewriteEngine On
#RewriteCond %{HTTP_REFERER} 192.168.10.19/ntop #RewriteCond %{REQUEST_URI}
!^/ntop #RewriteRule ^/(.*)$ http://192.168.10.19/ntop/$1 [L,P]

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

<Location /ntop/>
ProxyPassReverse /
SetOutputFilter  proxy-html
ProxyHTMLURLMap  /      /ntop/
ProxyHTMLURLMap  /ntop  /ntop
RequestHeader    unset  Accept-Encoding
</Location>

#######################################



Bye
- Giovanni -





_______________________________________________
Ntop mailing list
[email protected]
http://listgateway.unipi.it/mailman/listinfo/ntop

_______________________________________________
Ntop mailing list
[email protected]
http://listgateway.unipi.it/mailman/listinfo/ntop

Reply via email to