Hi.
I'm just a hobbyist and I like mucking around with cgi scripts.
Here's the script I've been using......
[color=blue]
>#! /usr/bin/python
>
>import BaseHTTPServer
>import CGIHTTPServer
>httpd = BaseHTTPServer. HTTPServer(('', 8000),
> CGIHTTPServer.C GIHTTPRequestHa ndler)
>httpd.serve_fo rever()[/color]
For some reason, I get these weird permission errors sometimes when I use
it ... such as:
"OSError: [Errno 13] Permission denied"
Sometimes my scripts produce this error, sometimes they don't. Can anybody
explain this?
Also, can anyone direct me to a script on the web that might do the trick
a little more consistently?
I'm just a hobbyist and I like mucking around with cgi scripts.
Here's the script I've been using......
[color=blue]
>#! /usr/bin/python
>
>import BaseHTTPServer
>import CGIHTTPServer
>httpd = BaseHTTPServer. HTTPServer(('', 8000),
> CGIHTTPServer.C GIHTTPRequestHa ndler)
>httpd.serve_fo rever()[/color]
For some reason, I get these weird permission errors sometimes when I use
it ... such as:
"OSError: [Errno 13] Permission denied"
Sometimes my scripts produce this error, sometimes they don't. Can anybody
explain this?
Also, can anyone direct me to a script on the web that might do the trick
a little more consistently?
Comment