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

Comments

nationalwind’s picture

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?

starbow’s picture

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.

nationalwind’s picture

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?

starbow’s picture

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

agerson’s picture

On Mac OS 10.5 server, make sure you have the box "Allow All Overrides" checked. This enables .htaccess files in sub folders.

jody lynn’s picture

Status: Active » Closed (fixed)