Page 278 -
P. 278

no such cgi script


          The dreaded 404 error!


           Whoops! Your web server has responded with a “404” error code, which is
           its way of telling you that something was wrong with your request. The web
           server is in fact telling you that it can’t locate the resource that your web
           browser requested, so it’s telling you that you made a mistake:
























                                                             Yikes! The web server can’t find the
                                                             “/cgi-bin/generate_timing_data.py”
                                                             CGI script, which triggers the 404.
















           Check the web server’s console window to confirm that your attempt to post your
           form’s data to generate_timing_data.py resulted in failure.

           Which isn’t really that surprising seeing as you have yet to write that code! So…things
           aren’t as bad as they first appear. The “404” error is exactly what you would expect
           to be displayed in this situation, so your generate_list.py CGI is working
           fine. What’s needed is the code to the other CGI script.


           If you create the required CGI script, you’ll be back on track.

           242    Chapter 7
   273   274   275   276   277   278   279   280   281   282   283