I have an internal website at my company that I'd like to allow outside access to via a reverse proxy with an Apache Server.
The difficulty here is that I only want particular mobile users accessing this reverse proxy.
I've created a very generic mobile app that will ALWAYS pass a cookie like MOBILEUSER=TRUE
.
Is it possible to write a mod_rewrite rule to check for the existence of that cookie and ONLY allow requests with that cookie and value through?