I have Switchmap up and running on a basic Ubuntu/Apache web server (2.2.22). However, it has no formatting like the screenshots.
The program/scripts are located in /usr/local/switchmap-13.1
The destination directory is set to /var/www
The DestinationDirectoryRoot is set to / (this is the only web site on the box)
The StateFileDirectory is set to /var/local/switchmap
The page source information shows the following (with some leading html formatting omitted in order to show the code):
==============================================================================================
link href="//SwitchMap.css" rel="stylesheet" type="text/css">
/head>
body>
ul class="toc">
href="//index.html">Home
href="//switches/index.html">Switches
href="//modulesbyswitch.html">Modules
href="//ports/index.html">Ports
href="//vlans/index.html">VLANs
href="//SearchPortlists.html">Search port lists
href="//switchstats.html">Statistics
/ul>
br>
===================================================================================================
It appears switchmap failed to generate the link without a complete absolute url reference. Should it not have placed the ip address of webserver where the .css file is located?
Additionally, I saw no mention in the installation instructions to copy the .css file into the DestinationDirectoryRoot location. It would appear from the source code for the web page, switchmap expects the .css file to be in that location.
Also, the top links have been generated the same way.
Is this a bug in the program and does an earlier version work better?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I have Switchmap up and running on a basic Ubuntu/Apache web server (2.2.22). However, it has no formatting like the screenshots.
The program/scripts are located in /usr/local/switchmap-13.1
The destination directory is set to /var/www
The DestinationDirectoryRoot is set to / (this is the only web site on the box)
The StateFileDirectory is set to /var/local/switchmap
The page source information shows the following (with some leading html formatting omitted in order to show the code):
==============================================================================================
link href="//SwitchMap.css" rel="stylesheet" type="text/css">
/head>
body>
ul class="toc">
href="//index.html">Home
href="//switches/index.html">Switches
href="//modulesbyswitch.html">Modules
href="//ports/index.html">Ports
href="//vlans/index.html">VLANs
href="//SearchPortlists.html">Search port lists
href="//switchstats.html">Statistics
/ul>
br>
===================================================================================================
It appears switchmap failed to generate the link without a complete absolute url reference. Should it not have placed the ip address of webserver where the .css file is located?
Additionally, I saw no mention in the installation instructions to copy the .css file into the DestinationDirectoryRoot location. It would appear from the source code for the web page, switchmap expects the .css file to be in that location.
Also, the top links have been generated the same way.
Is this a bug in the program and does an earlier version work better?