Hi,
I'm having one heck of a time trying to figure this out and would love any help that you can offer.
Basically, I need to use mod_rewrite to create a redirect for files beginning with "upl-". On top of that, I need users to have access to these files if a specific cookie is set.
I need this done in mod_rewrite for a number of reasons.
SUMMARY OF WHAT I'M TRYING TO DO:
If requested file name starts with "upl-" and cookie "x" has not been set, redirect to noaccess.php. If the cookie has been set, show the file.
Can anyone help me figure this out? I'm a beginner to mod_rewrite and am completely stumped. I'd be glad to help you with any PHP-related questions as I don't want to come off as a freeloader.
Thanks,
Jon