So, we've migrated some 20+ VMs from apache to LS, and, for the most part, they're going great. However, one bit of functionality we had before is missing, any thoughts on how to reimplement it?
The idea;
Check for a bit set by php on a remote server, or certain IP'ss and allow the request... Otherwise, deny.
Global apache rule (works with apache):
Unfortunately, I didn't write the previous code, and the previous developer (who did write it) is no longer available, so any help on how to get this working in LS would be greatly appreciated
The idea;
Check for a bit set by php on a remote server, or certain IP'ss and allow the request... Otherwise, deny.
Global apache rule (works with apache):
Code:
<Location />
SetEnvIfNoCase ^arg$ .+ allowed=1
SetEnvIfNoCase Remote_Addr (127\.0\.0\.1) allowed=1
Order Deny,Allow
Deny from All
Allow from env=allowed
</Location>