The following settings worked for me on a Debian Etch system running
Apache2:

 

<VirtualHost ***IP of the virt server***>

 

    ProxyRequests Off

    <proxy *>

        Order allow,deny

        Allow from all

        AuthType Basic

        AuthName "ntop"

        AuthUserFile /etc/apache2/httppasswd

        Require user ntop

    </Proxy>

 

    Redirect /ntop http:// ***IP of the virt server***/ntop/

    ProxyPass /ntop/ http://127.0.0.1:54321/

    ProxyPassReverse /ntop/ http://127.0.0.1:54321/

 

    RewriteEngine On

    #RewriteLogLevel 2

    #RewriteLog /var/log/apache2/rewrite_log

    RewriteCond %{REQUEST_URI} !^/$

    RewriteCond %{REQUEST_URI} !^/home.html$

    RewriteCond %{REQUEST_URI} !^/ntop/

    RewriteRule ^/(.*)$ http://127.0.0.1:54321/$1 [L,P]

 

</VirtualHost>

 

Best regards,

 

Monk

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

Reply via email to