[prev in list] [next in list] [prev in thread] [next in thread] 

List:       ntop
Subject:    RE: [Ntop] reverse-proxy on ntop
From:       "Burton Strauss" <Burton () ntopSupport ! com>
Date:       2006-05-24 17:03:21
Message-ID: 012301c67f53$f7bdebf0$648ea8c0 () burtonstrauss ! local
[Download RAW message or body]

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

-----Original Message-----
From: ntop-bounces@unipi.it [mailto:ntop-bounces@unipi.it] On Behalf Of
Giovanni
Sent: Wednesday, May 24, 2006 11:18 AM
To: ntop@unipi.it
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
Ntop@unipi.it
http://listgateway.unipi.it/mailman/listinfo/ntop

_______________________________________________
Ntop mailing list
Ntop@unipi.it
http://listgateway.unipi.it/mailman/listinfo/ntop

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic