Php photo gallery TWG | JFUploader | TWG Flash upload | WFU | Forum https://www.tinywebgallery.com/forum/ |
|
401 error on upload only https://www.tinywebgallery.com/forum/viewtopic.php?f=12&t=2504 |
Page 1 of 1 |
Author: | schplat [ 6. Apr 2010, 19:38 ] |
Post subject: | 401 error on upload only |
I can delete files, Create folders, rename folders, rename files. If I try to upload a file, I receive a 401 error I can't seem to post information due to an anti-spam rule about URLs, though I'm not using any URLs I am using a basic AuthType on the twg directory, this seems to be the conflict. The documentation on using login = auth, and htpusers is a little lacking. Any pointers on what I can do to get this working? Using TFU integrated with TWG Version 2.10.7 freeware No debug file |
Author: | TinyWebGallery [ 6. Apr 2010, 20:47 ] |
Post subject: | |
you need direct access to the tfu folder. create a .htaccess file in this folder where you allow access to this directoy only. With TWG you cannot use login=auth anyway. This yould not help you here. - Michael |
Author: | schplat [ 6. Apr 2010, 21:23 ] |
Post subject: | |
That did it, thanks. Added: AllowOverride None to: /<twg install>/admin/upload/.htaccess Upload now works, thanks, now to tweak some Allow/Deny's there as well to make sure it's still locked down. |
Author: | schplat [ 6. Apr 2010, 22:47 ] |
Post subject: | |
actually never mind, I forgot I had disabled my authconfig stuff and tested with it still disabled. Adding the above .htaccess disables even the ability to create directories, etc. So now I'm not sure what I need to put into the .htaccess file to make it work. |
Author: | TinyWebGallery [ 6. Apr 2010, 23:13 ] |
Post subject: | |
allow from all |
Page 1 of 1 | All times are UTC + 1 hour [ DST ] |
Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |