Have tried your module on 2.3.7 and 2.4.0 but receive error when doing the following:
- Setup clean SS installation
- Add securefiles folder and rebuild
- Unquote individual member and member group in _config
- Add user group under Security tab and add 'access to secure files'
- Add 'SecureUploads' folder, tick 'secure folder'
- Add Group Access Permissions to all groups (just for testing)
- Add file
- Go to files-tab and try to open file
- Error (using Google Chrome):
This webpage is not found.
No webpage was found for the web address: http://localhost:8888/website.com/www/assets/SecureUploads/dummy.pdf
+ More information on this error
Below is the original error message
Error 6 (net::ERR_FILE_NOT_FOUND): The file or directory could not be found.
Please note that all seems to work fine when I unquote SecureFileController::use_ss_sendfile_method(); in _config, but it says "Not recommended for production sites"
I'm having a similar problem. I installed the module fine, and the backend is working properly. After securing a folder called "members" and adding administrator access, when I try to access a file from the frontend I'm met with a simple "Not Found" or a 404 error. The same files are available without any trouble when I turn off security for that folder. At times it tried to send me to the Security (login) page with a BackURL to the file, but that didn't work, plus I was already logged in.
Just to (possibly) add a bit more info to this, when I added the
to my httpd.conf file as suggested in the README, I got this error in apache:
[Mon Aug 23 19:08:43 2010] [error] [client 22.214.171.124] Options FollowSymLinks or SymLinksIfOwnerMatch is off which implies that RewriteRule directive is forbidden: /home/aabweb/public_html/sfx/assets/Uploads/Testfile.0001.jpg
and a SilverStripe 404 page when trying to access the file.
Not sure what that means in terms of the problem but thought it worth reporting.....