Closed GoogleCodeExporter closed 9 years ago
Looks like there is a HTTP 401 error when the following request is done
"POST /admin/filebrowser/upload_file/ HTTP/1.1" 401
Original comment by amine.ch...@gmail.com
on 16 Mar 2011 at 2:25
you are not using https, right?
are you trying to upload to the server where filebrowser is installed or to a
different one?
Original comment by sehmaschine
on 16 Mar 2011 at 2:49
Hey, no i'm not using https (saw the related issue)
I'm trying to upload to the same server where filebrowser is set up. Thanks to
this thread
http://groups.google.com/group/djangofilebrowser/browse_thread/thread/f523e22645
f27a7a/8422e33163440c8d?lnk=gst&q=upload_file#8422e33163440c8d I was able to
get it working moving on to mod-wsgi (it was about time)
Thanks to the authors of the thread and to you
Original comment by amine.ch...@gmail.com
on 16 Mar 2011 at 3:08
UPDATE:
Actually it's not mod-wsgi who fixed the issue but the way i configured it:
mod_python set up was requiring a valid user through basic auth
mod_wsgi set up wasn't requiring any authentication
When i put authentication clause back in mod_wsgi, i faced the same issue
So my issue was related to apache auth
Original comment by amine.ch...@gmail.com
on 16 Mar 2011 at 3:36
thanks for debugging – I´ll update the docs.
Original comment by sehmaschine
on 16 Mar 2011 at 8:12
No problem for that, here is my dirty workaround in apache virtual host
configuration:
<Location "/admin/filebrowser/upload_file/">
AuthType None
Require all granted
Satisfy any
</Location>
<Location "/admin/filebrowser/check_file/">
AuthType None
Require all granted
Satisfy any
</Location>
Please note that I'm not familiar with AuthType None and that allows to keep
location / under some other AuthType. It may create some security issues but
since it's a "private" alpha in my case, that's a working workaround.
Original comment by amine.ch...@gmail.com
on 16 Mar 2011 at 8:22
docs are updated (online with the next revision)
Original comment by sehmaschine
on 29 May 2011 at 8:31
Original issue reported on code.google.com by
myn.stud...@gmail.com
on 15 Mar 2011 at 12:42