Thanks Graham. Let me contact Admin.
--
http://mail.python.org/mailman/listinfo/python-list
On Aug 25, 4:00 pm, David wrote:
> Thanks Graham. Let me contact Admin.
Hi Graham: you are right. it's fixed now. Thanks again.
--
http://mail.python.org/mailman/listinfo/python-list
disclaimer: i did not write this code. i copied it and inserted into
my cgi code. it is from
http://webpython.codepoint.net/mod_python_publisher_big_file_upload.
--
http://mail.python.org/mailman/listinfo/python-list
A little more info: "Defrosting.rtf" is a file that I wanted to
upload. This file was supposed to upload to folder '/var/www/keyword-
query/files/'.
My code runs in root.
--
http://mail.python.org/mailman/listinfo/python-list
On Aug 26, 8:43 am, David wrote:
> Hello,
>
> I googled online however I did not find a clue my question. So I post
> it here.
>
> I created a mod_python CGI to upload a file and saves it in folder "/
> var/www/keyword-query/files/". My code runs in root.
>
> fileitem = req.form['file']
>
>
Ok, solved: apache is unable to follow relative paths from the script.
Putting ol absolute paths it's ok!
Simo D wrote:
>
> Hi, I'm using a script.py to write a file in a dir on the server.
> Mod_python work but i get:
> Mod_python error: "PythonHandler mod_python.publisher"
>
> Traceback (most