Announcement

Collapse
No announcement yet.

Webserver File Location

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Webserver File Location

    I was looking to add a simple html file in the webserver root for the fr24feed so that I can monitor the status on an uptime site. Can anyone tell me where the html files for the fr24feed (localhost:8754) server are stored? I can find the files for the dump1090 (localhost:8080).

    Thanks!

  • #2
    Follow up question, what web server is fr24feed utilizing?

    Comment


    • #3
      Originally posted by krisb View Post
      I was looking to add a simple html file in the webserver root for the fr24feed so that I can monitor the status on an uptime site. Can anyone tell me where the html files for the fr24feed (localhost:8754) server are stored? I can find the files for the dump1090 (localhost:8080).

      Thanks!
      It's probably written server side?
      James Lazzari BSc (Hons)
      T-EGCC125
      http://www.ukjay.co.uk

      Comment


      • #4
        Originally posted by ukjay View Post
        It's probably written server side?
        He means the one included within the app to host the config pages

        From what I can tell Kris, its coded into the binary. Called on launch. So not a standalone port other than the logfiles in /var/log/fr24feed.log
        Posts not to be taken as official support representation - Just a helpful uploader who tinkers

        Comment


        • #5
          That's what I said/meant Oblivian - It's written on the fly server side - like server side asp etc.
          The thing is, what (as far as I can tell) is he wants to check things with a web page?
          well that's what localhost:8754 does!
          If he wants to check remote of the network, then he has to do other stuff to get his internet IP address of course...
          James Lazzari BSc (Hons)
          T-EGCC125
          http://www.ukjay.co.uk

          Comment


          • #6
            Nothing server side. (Which in this case would infer to most users as being on fr24s servers)

            A traditional web server Consists of a hosting portal, similar to tinyhttp or Apache. And web pages for the client to load. Like index.html. those are found in directories on the host As with dump1090s files in our own cases.

            But in the case of fr24feed, I suspect these are written to ram and hosted only when the application is running. Have to use the word server cautiously (if not mentioning local) when were referring to something that does contact a central server. Ala fr24s CDN

            Sent from my XT1092 using Tapatalk
            Posts not to be taken as official support representation - Just a helpful uploader who tinkers

            Comment


            • #7
              Originally posted by Oblivian View Post
              Nothing server side. (Which in this case would infer to most users as being on fr24s servers)

              A traditional web server Consists of a hosting portal, similar to tinyhttp or Apache. And web pages for the client to load. Like index.html. those are found in directories on the host As with dump1090s files in our own cases.

              But in the case of fr24feed, I suspect these are written to ram and hosted only when the application is running. Have to use the word server cautiously (if not mentioning local) when were referring to something that does contact a central server. Ala fr24s CDN

              Sent from my XT1092 using Tapatalk
              I do know what a traditional server is & does, so please spare me the lecture ;-)
              I was just explaining why krisb wont find any html code, there is a way to suss out what is happening, but I think this may only confuse things at the moment!
              :-)
              James Lazzari BSc (Hons)
              T-EGCC125
              http://www.ukjay.co.uk

              Comment


              • #8
                Not sure what the OP is looking for but if you haven't heard of VRS, that is a nice server app:
                http://www.virtualradarserver.co.uk/

                Look at the plugins like "database writer"

                Comment


                • #9
                  Originally posted by Sam26K View Post
                  Not sure what the OP is looking for but if you haven't heard of VRS, that is a nice server app:
                  http://www.virtualradarserver.co.uk/

                  Look at the plugins like "database writer"
                  He wants to monitor that fr24feed is running, and restart it if it is not.

                  The method he hoped to do this by, was checking the index.HTML the local webserver creates when running is still active. If not, restart.

                  But it's not a separate service/application writing/reading files like httpd(aemon) to be able to do so.

                  Sent from my XT1092 using Tapatalk
                  Posts not to be taken as official support representation - Just a helpful uploader who tinkers

                  Comment


                  • #10
                    Thanks for the information about the "server". I was hoping it was more like the dump1090 web server/service, where I could add files. I will have to dig a little deeper into the fr24feed to see how that works someday, my curiosity has me wondering how they serve those at run time, there would have to be code somewhere that could be modified, unless it is compiled... Which may be the case.

                    Thanks again!

                    Comment


                    • #11
                      What is the final goal you are trying to achieve?

                      Maybe there is another way of reaching what you'd like to do...

                      Comment


                      • #12
                        Originally posted by krisb View Post
                        Thanks for the information about the "server". I was hoping it was more like the dump1090 web server/service, where I could add files. I will have to dig a little deeper into the fr24feed to see how that works someday, my curiosity has me wondering how they serve those at run time, there would have to be code somewhere that could be modified, unless it is compiled... Which may be the case.

                        Thanks again!
                        Not knowing your complete setup makes it more guesswork on how to help further Krisb, but great that you are doing some bespoke extras!
                        James Lazzari BSc (Hons)
                        T-EGCC125
                        http://www.ukjay.co.uk

                        Comment


                        • #13
                          Originally posted by JohnnyBravo View Post
                          What is the final goal you are trying to achieve?

                          Maybe there is another way of reaching what you'd like to do...
                          My goal was to add a job to my UptimeRobot to see if the service was running. I was trying to avoid using the main page as the page that gets pinged every five minutes. I have FlightAware and FlightRadar running on the same Raspberry Pi. I get alerts from FlightAware when my service is down, but that can be up to six hours. I was trying to get a more advanced warning when the service went down. It only happens once every few months.

                          Comment


                          • #14
                            Originally posted by krisb View Post
                            My goal was to add a job to my UptimeRobot to see if the service was running. I was trying to avoid using the main page as the page that gets pinged every five minutes. I have FlightAware and FlightRadar running on the same Raspberry Pi. I get alerts from FlightAware when my service is down, but that can be up to six hours. I was trying to get a more advanced warning when the service went down. It only happens once every few months.
                            Ok Krisb sounds ok - seems like the Pi is your main machine?
                            I just connect to my Pi using my Win 7 on port 8754 as I check it most days.
                            May have a look at writing some code also though?
                            Too many hobbies here for this OAP so may take a while haha
                            These little PI's are quite reliable aren't they (touch wood) but I have found it down for unknown reasons now & then, more a router problem than the Pi I guess?
                            Laters Jay
                            James Lazzari BSc (Hons)
                            T-EGCC125
                            http://www.ukjay.co.uk

                            Comment

                            Working...
                            X