file protection not working
-
hi guys,
we’re working on a new site with UAM. protection of selected posts is working. but: i can’t get the file portection to work no way. any ideas?
details:
page protectio is ok, actually there is a force login sitewide in front.https://hst2023371279.hst2.ncsrv.de/studio-life/medien/
the file hst2023371279.hst2.ncsrv.de/wp-content/uploads/test.mp4 should be protected, but is not.linking site is protected and working. setup:
/wp-admin/admin.php?page=uam_settings&tab_group=file
lock files yes
download type normal (checked fopen as well, same result)
inline file types mp4
custom file handling no
locked file types all (checked mp4 as well, same result)htacces /wp-content/uploads/
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ – [L]
RewriteCond %{REQUEST_URI} !.*\/sites\/[0-9]+\/.*
RewriteRule ^([^?]*)$ /index.php?uamfiletype=attachment&uamgetfile=$1 [QSA,L]
RewriteRule ^(.*)\?(((?!uamfiletype).)*)$ /index.php?uamfiletype=attachment&uamgetfile=$1&$2 [QSA,L]
RewriteRule ^(.*)\?(.*)$ /index.php?uamgetfile=$1&$2 [QSA,L]
</IfModule>any idea how to get the files attached to the post protected as well?
it’s a standard unix server.
- The topic ‘file protection not working’ is closed to new replies.