By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,592 Members | 1,478 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,592 IT Pros & Developers. It's quick & easy.

Redhat 9, Python 2.4.1, CGIHTTPServer problem

P: n/a
I cannot get a simple CGI-script to work with this combination :

Redhat 9 Linux
Both Python 2.41. and ActiveState Python 2.4.1

either as an Apache 2 cgi-script or using CGIHTTPServer.

The same script works fine on Redhat 7.3.

The script fails at 230 in CGIHTTPServer :


the error message being
OSError: [Errno 2] No such file or directory

Can anyone through any light on this problem ?.

I have seen a few references to problems in this area, but nothing
that is helpful in solving the problem.

Jul 19 '05 #1
Share this Question
Share on Google+
1 Reply

P: n/a
It might not be the script, but might be the environment. I've been
burned by something similar in the past when I had my CGI script in my
home dir (default +r) and didnt have the permissions correct on the
dir. Not only does the script have to be +r +x, but the dir it is in
has to be as well for the apache user.


Jul 19 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.