I'm running nav3 on debian-sarge and found the file under locate vlanPlot.py /usr/lib/python2.3/site-packages/nav/web/pyproxy/vlanPlot.py /usr/lib/python2.3/site-packages/nav/web/pyproxy/vlanPlot.pyc /usr/lib/python2.3/site-packages/nav/web/pyproxy/vlanPlot.pyo I made a copy of the original file and tried to do some changes here, but no success. How do I manually set the hostname or ip-address? Peder
Kristian Eide <kreide@gmail.com> 01.06.2005 15:27:29 >>> This file does not exist! I think it was removed some time around beta4?
You are quite right; it seems it was removed by another developer. The server name is now automatically set as the same URL used for accessing vlanPlot itself, however, it can be changed manually by editing: /usr/local/nav/apache/webroot/vlanPlot/vlanPlot.py Look for 'vPServerURL' and 'cricketURL'. -- Kristian
From kreide at gmail.com Wed Jun 1 16:58:09 2005 From: kreide at gmail.com (Kristian Eide) Date: Wed Jun 1 15:58:15 2005 Subject: [Nav-users] Another questions about vlanPlot In-Reply-To: <s29dd972.063@HVO-3.hivolda.no> References: <s29dd972.063@HVO-3.hivolda.no> Message-ID: <b4c110fd050601065861b1fc57@mail.gmail.com>
/usr/lib/python2.3/site-packages/nav/web/pyproxy/vlanPlot.py /usr/lib/python2.3/site-packages/nav/web/pyproxy/vlanPlot.pyc /usr/lib/python2.3/site-packages/nav/web/pyproxy/vlanPlot.pyo
I see on our production server we have: /usr/local/nav/lib/python/nav/web/pyproxy/vlanPlot.py You can probably edit the file in site-packages as well. You may need to delete the two last files and restart apache for the changes to take effect. The hostname can be manually set in this file, e.g. add: server = 'myserver.domain.no' Right above the line params = "". -- Kristian