I have quite a basic setup
<Directory "/var/www/example.com/public"> AuthType Basic AuthName "Restricted Access AuthUserFile /etc/httpd/conf/users Require valid-user </Directory>
This works fine except one aspect, i am using uplodify swfupload and it can’t upload files because it triggers a 401 error.
Is there any way the uploader can bypass this?
Answer
Turn off authentication for the upload folder:
<Directory "/path/to/upload/folder">
...
Satisfy Any
</Directory>
You can also do it for only one file with Files
directive.
Another way is the pass session ID to the upload script.
Attribution
Source : Link , Question Author : Moak , Answer Author : quanta