simple http server

Peter Hansen peter at engcorp.com
Wed Mar 17 13:07:45 EST 2004


Gelo Ilzi wrote:

> I've created a subdir 'cgi-bin' which contains a python script. Now when I
> enter this directory, i.e., go to the url http://localhost:8000/cgi-bin/  my
> browser shows:
> 
>    Error response
>    Error code 403.
>    Message: CGI script is not a plain file ('/cgi-bin/').
>    Error code explanation: 403 = Request forbidden -- authorization will not
> help.
> 
> Plain html pages are ok.
> 
> It seems I misunderstand something very basical. Could somebody help me
> please.

What did you expect to happen when you went to that URL?

-Peter



More information about the Python-list mailing list