.htaccess not making private directory private

nationalwind - July 17, 2008 - 16:09
Project:Private Upload
Version:6.x-1.0-beta2
Component:Code
Category:support request
Priority:normal
Assigned:Unassigned
Status:active
Description

Hello, I am getting the error:
Very bad! Your private files are not private!

I tried deleting the .htaccess in the private directory and allowing the module to regenerate an .htaccess but the same error shows up again.

Can someone just send me the code that should be in the .htaccess so I can use this module properly?

Thanks

#1

nationalwind - July 17, 2008 - 17:12

Actually, the protection appears to be working. Not sure why status tells me the files are not private... Perhaps because of the directory permissions 755 as someone mentioned in another support request?

#2

starbow - July 17, 2008 - 19:23

Hmm, that message means that a fsockopen call to the url succeeded in downloading a file from the protected directory without sending any cookies...which should correspond to it not being properly protected.

#3

nationalwind - July 23, 2008 - 15:29

So how do I fix this? I just have the .htaccess that was made by the module. IS there something else I need to do ? or is it the module?

#4

starbow - July 23, 2008 - 18:54

If access to your private files directory has been successfully restricted, just ignore the error.

 
 

Drupal is a registered trademark of Dries Buytaert.