This is what I understand thus far:
1. s2Member has a directory called 's2Member-files' that already has an .htaccess file that will only allow logged-in users to access the files through the URI restrictions.
2. This directory requires that you use a special link that goes through s2Member because only s2Member has access to those files.
This is the problem:
I already have NextGEN galleries in another folder that are not being protected. If I use the .htaccess language that is already available in the 's2Member-files' directory in the folder with my images it will not work because NextGEN will always point to the actual file location instead of the s2member? location.
The question is this:
Is it possible to tell NextGEN to dynamically trim the file folders from the url, except for the file name, and include the required s2member? syntax?
OR
Is it possible to have an .htaccess for URI restrictions that works the opposite way.
Ex. I access /s2Member-files/protected_file.zip (The real location).
.htaccess says, okay hold on let me check with s2Member to make sure that you have access to this file
Have s2member respond to the .htaccess file with 'yes' or 'no'
It seems that it would be optimal if the .htaccess file worked this way. If so, then we would not have to modify every other plugin to conform to the s2member linking structure.
I am not even sure if it is possible for an .htaccess file to do this. I am a novice developer. I know enough to get me into trouble and not enough to get me out. ; )
Thank you in advance for your response Jason.Statistics: Posted by DominicWasserzug — November 12th, 2011, 8:48 pm
]]>