Re: Using Python's CGIHTTPServer to run CGI programs locally
On Fri, Jun 08, 2001 at 10:32:01AM -0400, Marc Shapiro wrote:
> I want to write CGI programs in python for my personal use to be
> executed from my browser on my home LAN. If I run CGIHTTPServer.py it
> says that it is listening on port 8000. If I then try to access a file
> in /cgi-bin netscape simply displays the file. If I try to access the
> file using http protocols then netscape responds that it is 'unable to
> locate the server mareschal' which is the name of the machine on which I
> am running both CGIHTTPServer.py and netscape. What am I doing wrong?
> I suppose that there are config files somewhere that need tweaking, but
> what are they? My /etc/hosts file contains:
HTTP is usually on port 80. Did you try http://localhost:8000 ?
--
Eric G. Miller <egm2@jps.net>
Reply to: