I am trying to get webpanel working. I've done some searching and checked a few of the tutorials, but I am stumped. On start in settings, I have --httpd=8080. For flying the Cessna 172 which was in the initial FG install, it's in Aircraft/c172p and the web panel file system path is: Aircraft/c172p/WebPanel/c172p-webpanel.html.
I fire up FG and select the Cessna 172. Based on what I've read, 'aircraft-dir' needs to be in the url. So I assumed 'aircraft-dir' means c172p in the above case. So I tried localhost:8080/c172p/WebPanel/c172p-webpanel.html and I get a 404 response. Hmmm. I tried a variation: localhost:8080/Aircraft/c172p/WebPanel/c172p-webpanel.html. Again a 404 response. The only time I get a response is when I used the actual word 'aircraft-dir' and ignore the c172p path element: localhost:8080/aircraft-dir/WebPanel/c172p-webpanel.html and then I only see a black horizontal bar across the top.
I tried another plane that is downloaded into my home directory, SenecaII. When I used the naming convention that seemed to work with the 172, I did get a response, but only some empty gray boxes but not the instrument cluster that I expected to see.
So I guess I assumed that logic would apply in the use of aircraft-dir to mean c172p, SenecaII, c310 - the actual directory of the name of the plane in the Aircraft folder. But I guess that's not the case. Seeing that it appears that FG will assign the url to localhost:8080/aircraft-dir/WebPanel/webpanelfilename.html, is there a simple reason someone might guess why I'm not seeing the instrument panel that I should be seeing in the browser. I really have done a lot of searching on this and haven't come up when an answer. I am using Firefox and I'm sure javascript is enabled. Possibly is it a javascript version/browser issue? I'm running Linux Mint and Chrome browser is not the speediest on Linux nowadays. Is there another browser I should try? I did try http://localhost:8080/aircraft-dir/WebP ... panel.html on Chrome and I got the same black, horizontal bar at the top of the screen, the same as Firefox.
Is my logic correct in the 8080 url that in all cases it shall be aircraft-dir/WebPanel/ followed by the html file name that I'm trying to reference?
Thanks in advance.
Dave