I am working on a version of the python cgi script that is supposed to create img files (which will be shown on the web page) in the cgi-bin folder.
But this fails: [Wed Oct 28 16:13:51 2009] [error] [client :: 1] OSError: [Errno 13] Permission denied: 'average /'
[Note] 'average /' is the folder that the cgi script is going to create to save these img files.
I tried to provide + x permission for the cgi script, but it still failed. This happens on both Win and Mac.
Btw, I am working with Apache default settings. I did not change anything after installing Apache.
- cgi-bin. - nobody, , , , cgi-bin :
nobody
chmod a+rwx cgi-bin
(, Windows cgi-bin, .)
. script, , cgi-bin, Apache CGI script . .
, , , cgi-bin ( -, Alias), Apache script htaccess . " 777 , , , -".
Alias
average/ cgi.
average/
EDIT: , python script ( Win, Mac) img?
script , /.
, , Python.
Source: https://habr.com/ru/post/1721270/More articles:Define a newline return method in PHP - phpSimulator for BlackBerry 9300 - mobileA common function in a list of a derived class is listCan I pass a table as a parameter when running a stored program? - sqlHow to delete / delete / release a cookie right away? - cookiesUse javascript and php through ajax to run MySQL queries - javascriptTransactional Services => BeanNotOfRequiredTypeException, there should be advice, but TransactionInterceptor - javaКак отобразить полосу ширины 100% в дизайне CSS с использованием чертежа с фиксированной сеткой? - htmlhttps://translate.googleusercontent.com/translate_c?depth=1&pto=aue&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/1721274/transactionproxyfactorybean-when-switching-from-configuration-based-service-beans-to-annotation-based-service-beans&usg=ALkJrhia_2hfrTkbj4VTw5vCoWvEIi6BkwHow to execute os methods. * How to root? - pythonAll Articles