Announcement

Collapse
No announcement yet.

WEB PAGE HELP

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

  • #16
    How do you have the simple server setup? Will it serve up a simple html page from the root folder? I notice below that you have it running on a particular port nnnnn. Did you set the server up to run on this port?

    http://NN.NN.NN.NN:nnnnn/SSWebDir/cgi-bin/Carport.pif
    Why I like my 2005 rio yellow Honda S2000 with the top down, and more!

    Comment


    • #17
      Actually, I've made SOME progress.

      The LINK is not the entire URL.

      Ie: http://23.12.144.21:4323/SSWebDir/Front.bat
      <P align="center">
      THIS doesnt fail, but it also doesn't actually work. Note the difference:

      <a href="/cgi-bin/Front.bat">Front</a> - <a href="/cgi-bin/Carport.bat">Carport</a> - <a href="/cgi-bin/Back.bat">Back</a>
      </body>
      </html>

      Comment


      • #18
        IP address is example only.

        Server is functioning. Index.htm, which contains the javascript in the earlier example is working flawlessly. Port is OK and server is setup for it.

        Comment


        • #19
          Looks like you are having html issues which I won't be able to help you with. You need to determine if the brouser and server are communicating as desired and the batch files executing as desired before trying to embed the links into a web page, which may have additional problems of its own.
          Why I like my 2005 rio yellow Honda S2000 with the top down, and more!

          Comment


          • #20
            One thing to look at is the below link is trying to run the executable bat file in the root folder, which won't work. It must be in the cgi-bin folder and linked to as such. On my machine the lopback link http://127.0.0.1:86/cgi-bin/test.bat works perfectly, running the batch file with no web page change or error.

            http://23.12.144.21:4323/SSWebDir/Front.bat

            http://23.12.144.21:4323/cgi-bin/Front.bat
            Why I like my 2005 rio yellow Honda S2000 with the top down, and more!

            Comment


            • #21
              Here's a thought....

              What about a real CGI script?

              Do you know how to do that?

              Comment


              • #22
                I've been doing some tinkering with the analogx simple server tonight, and its performance is inconsistant. some bach files it will run s desired, some run but produce a page update, and some run but don't execute the application inside the batch file. It doesn't handle a query_string properly also. Apache seems to get every thing right and is free, so I suggest it be used to run the batch files via a brouser. I've snatched the apache server module out of the ivista package and run it by itself to do the cgi functions via the web. It is pretty small and functions well for controlling the parallel port and sending data to the serial port via batch files.
                Why I like my 2005 rio yellow Honda S2000 with the top down, and more!

                Comment


                • #23
                  Ok,
                  So... How do I get this? And, How will I set this up with my Javascript video pull thingy?

                  Apache.... Hmm, isn't that Linux?

                  Comment


                  • #24
                    Below is where you can get the full windows apache. My ivista module is based on the 1.3 version. Been a while since I've tinkered with the full version, but it would execute .bat and .exe files in the cgi-bin folder just using a link when I tested it. Depending on your particular computer/lan setup, it may or may not work for you.

                    http://httpd.apache.org/download.cgi
                    Why I like my 2005 rio yellow Honda S2000 with the top down, and more!

                    Comment


                    • #25
                      OK... I will D/L it and see if I can get it running... may take a few days... busy. Will keep you up-to-date then.

                      Comment

                      Working...
                      X