mod_python form upload: permission denied sometimes...

Lawrence D'Oliveiro ldo at geek-central.gen.new_zealand
Mon Apr 27 06:15:43 CEST 2009


In message <0fc15bee-003a-45ca-
b6b6-21ed0645b2ff at q2g2000vbr.googlegroups.com>, psaffrey at googlemail.com 
wrote:

> I have a mod_python application that takes a POST file upload from a
> form. It works fine from my machine, other machines in my office and
> my home machine. It does not work from my bosses machine in a
> different city - he gets "You don't have permission to access this on
> this server".
> 
> In the logs, it's returned 403. I also have this error in error.log:
> 
> Cannot traverse upload in /pythonapps/wiggle/form/upload because
> <function form at 0x7fe7568e31b8> is not a traversable object,
> referer: ...

Sounds like a bug in your code. Have you tried uploading a smaller file? 
What's different about the setup on your boss's machine? OS? Browser? 
Addons?




More information about the Python-list mailing list