Php photo gallery TWG | JFUploader | TWG Flash upload | WFU | Forum

Get help for TinyWebGallery, the best image gallery. The forum is also home for the Joomla JFUploader, TWG Flash Uploader and the Wordpress flash uploader.
It is currently 28. Mar 2024, 15:44

This forum is readonly now. Please use the new forum if you don't find the answer to your question here. The new forum is at https://www.tinywebgallery.com/blog/forum/


All times are UTC + 1 hour [ DST ]




Post new topic Reply to topic  [ 5 posts ] 
Author Message
 Post subject: 401 error on upload only
PostPosted: 6. Apr 2010, 19:38 
Offline

Joined: 6. Apr 2010, 19:24
Posts: 3
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


Top
 Profile  
 
 Post subject:
PostPosted: 6. Apr 2010, 20:47 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
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


Top
 Profile  
 
 Post subject:
PostPosted: 6. Apr 2010, 21:23 
Offline

Joined: 6. Apr 2010, 19:24
Posts: 3
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.


Top
 Profile  
 
 Post subject:
PostPosted: 6. Apr 2010, 22:47 
Offline

Joined: 6. Apr 2010, 19:24
Posts: 3
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.


Top
 Profile  
 
 Post subject:
PostPosted: 6. Apr 2010, 23:13 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
allow from all


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: No registered users and 6 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
cron
powered by phpbb | Datenschutz/ Privacy policy