Hi all -

New to this version of ntop...previously ran v. 1.something a while ago 
but have recently started running it again on my servers. 

I would like to use Apache (2.0.50 currently) to serve up ntop's pages 
via https:.  I have added the following lines to the ssl.conf file as 
suggested in the FAQ:



ProxyPass /ntop/ http://localhost:3099/

RewriteLog /var/log/httpd/rewrite.log
RewriteLogLevel 9
RewriteEngine On
RewriteCond %{HTTP_REFERER} malibyte.net/ntop 
RewriteCond %{REQUEST_URI} !^/ntop
RewriteRule ^/(.*)$ http://www.malibyte.net/ntop/$1 [L,P]



This works, escept that the icons (flags, etc.) aren't being proxied 
correctly, despite the fact that the rewrites apparently are being 
processed:



rewrite /statsicons/flags/uk.gif -> 
http://www.malibyte.net/ntop/statsicons/flags/uk.gif
(2) forcing proxy-throughput with 
http://www.malibyte.net/ntop/statsicons/flags/uk.gif
(1) go-ahead with proxy request proxy: 
http://www.malibyte.net/ntop/statsicons/flags/uk.gif 
[OK]



All the TEXT info comes through OK, but nothing graphical.

The element properties on the supposed-to-be-there icon are:

Location:  https://www.malibyte.net/statsicons/flags/uk.gif
Alternate text:  Flag for ISO 3166 code uk (from p2c file)

Obviously, the browser is missing the "/ntop" between the domain name 
and the filename.  

If I run it using ntop's webserver directly, they all display correctly.

Can someone clue me in as to the fix?  Thanks.



Also, I'd like to be able to call it up with:


https://www.malibyte.net/ntop <- gives me a 404


instead of:


https://malibyte.net/ntop/ <- lets me log in



TIA -

Bob

____________________________________
Bob Sully - Simi Valley, California, USA
http://www.malibyte.net
http://www.malibyte.com

"There will be no white flag above my door."
_______________________________________________
Ntop mailing list
[EMAIL PROTECTED]
http://listgateway.unipi.it/mailman/listinfo/ntop

Reply via email to