5
브라우저에서 CGI 내에서 Python 스크립트를 트리거하려고하는 중에이 오류가 발생합니다.OS X에서 Python CGIHTTPServer 액세스가 거부되었습니다.
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/CGIHTTPServer.py", line 251, in run_cgi
os.execve(scriptfile, args, env)
OSError: [Errno 13] Permission denied
1.0.0.127.in-addr.arpa - - [20/Apr/2013 14:51:16] CGI script exit status 0x7f00
루트 ($ python-32 main.py
)로 주 프로세스를 실행하지 않습니다.
This topic 나를 위해 작동하지 않았습니다.
스크립트를 실행 가능하게 설정해도 작동하지 않습니다 ($ chmod +x index.py
, -rwxr-xr-x
).