<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2800.1479" name=GENERATOR></HEAD>
<BODY style="MARGIN: 4px 4px 1px; FONT: 10pt Tahoma">
<DIV>When I run my little server.py in a subdirectory on Windows XP , it knows 
where 127.0.0.1:54321/cgi-bin/response.py lives, and the browser receives the 
appropriate codes from the response.py script.</DIV>
<DIV>&nbsp;</DIV>
<DIV>However, when I move the script and server.py to the same file structure on 
WindowsCE, server.py reports that it can't find response.py. I believe this is 
simply another aspect of the fact that WindowsCE doesn't recognize local files, 
and requires that all filenames be fully specified. Is there a way to enter the 
URL into the browser with the full path? Like: <A 
href="http://127.0.0.1:54321/program files/python/htmlTest/cgi-bin/response.py">http://127.0.0.1:54321/program 
files/python/htmlTest/cgi-bin/response.py</A>" ? Or is it some other setting 
that I need to specify, like some "base File" location that the server then 
searches down from?</DIV>
<DIV>&nbsp;</DIV>
<DIV>Server.py:</DIV>
<DIV>&nbsp;</DIV>
<DIV>import BaseHTTPServer<BR>import CGIHTTPServer</DIV>
<DIV>&nbsp;</DIV>
<DIV>def 
run(server_class=BaseHTTPServer.HTTPServer,<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
handler_class=CGIHTTPServer.CGIHTTPRequestHandler,):<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
server_address=('',54321)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; httpd = 
server_class(server_address,handler_class)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
httpd.serve_forever()<BR>run()</DIV>
<DIV>&nbsp;</DIV>
<DIV>from the directory where server.py lives(C:/source) in&nbsp;XP,&nbsp;a 
file&nbsp;called /cgi-bin/response.py is readily found when I put 
"http://127.0.0.1/cgi-bin/response.py into the browser when everything's 
on&nbsp;xp, but not when everything's on CE (/Program 
Files/python/httpTest/).&nbsp;Server.py says it can't find the file.</DIV>
<DIV>&nbsp;</DIV>
<DIV>Ron<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </DIV></BODY></HTML>