basically I want to see my ntop outside of my office.
basically, I applied the rewrite condition written in the misusage notes.
Now, there are too much probles, such as, naturally, if I click on the plugins directory and I re-click on a normal page it will be change the referer page, making useless our rewrite conditions.
Here two examples:
[Mon Jul 03 14:05:04 2006] [error] [client 192.192.192.192] File does not exist: /var/www/html/192.168.10.222.html, referer: http://www.mysite.org/plugins/LastSeen
[Mon Jul 03 14:06:36 2006] [error] [client 192.192.192.192] File does not exist: /var/www/html/dump.html, referer: http://www.mysite.org/192.168.10.222.html
obliganting me to insert more and more rewrite condition and rules, and creating weird problems using SSLProxyEngine or trying to authenticate that pages!
such, AFAIK, minimal rewrite rules are:
ProxyPass /ntop http://internalip:3000/
ProxyPass /plugins http://internalip:3000/plugins
RewriteCond %{HTTP_REFERER} mysite.org/ntop
RewriteCond %{REQUEST_URI} !^/ntop
RewriteRule ^/(.*)$ http://www.mysite.org/ntop/$1 [P,NC,L]
RewriteCond %{HTTP_REFERER} mysite.org/plugins
RewriteCond %{REQUEST_URI} !^/plugins
RewriteRule ^/(.*)$ http://www.mysite.org/plugins/$1 [P,NC,L]
Now I'm wondering if is possible to "change" the document root of ntop web server, to make possible to mod_proxy work without any rewrite condition.
so, ALL ntop paes resides in the ntop' web server documenroot /ntop, and the only thing that needs to be configured in the front-end's web server will be a stupid:
ProxyPass /ntop/ http://internalip:3000/ntop
ProxyPass /ntop/ http://internalip:3000/plugins
nothing else!
also deleting every single problem issued by authentication or SSLProxyEngine!
any help, suggestion or documentation will be appreciated
Best Regards
_______________________________________________ Ntop mailing list [email protected] http://listgateway.unipi.it/mailman/listinfo/ntop
