problem with CGIHTTPServer

Gabriel Genellina gagsl-py2 at yahoo.com.ar
Fri Mar 28 12:12:55 EDT 2008


En Fri, 28 Mar 2008 12:38:45 -0300, 7stud <bbxx789_05ss at yahoo.com>  
escribió:

> After I start the server script, load the html page in my browser, and
> click on the link, I get the desired output in my browser, but the
> server script outputs the following in my terminal:
>
> localhost - - [28/Mar/2008 08:51:22] "GET /my_cgi_scripts/test.py HTTP/
> 1.1" 200 -
> localhost - - [28/Mar/2008 08:51:22] code 404, message File not found
> localhost - - [28/Mar/2008 08:51:22] "GET /favicon.ico HTTP/1.1" 404 -
>
>
> What are the error messages on lines two and three?

Line 3 is your browser (IE, I presume?) asking for an icon for the site.
See http://en.wikipedia.org/wiki/Favicon
I don't know about line 2, maybe it's just a diagnostic message related to  
line 3. Try refreshing the page, or using an inexistent url to see if it  
still appears. Or put any icon as /favicon.ico to make your browser happy.

-- 
Gabriel Genellina




More information about the Python-list mailing list