# No clue how you'd use setenvif for https. this is all hypothetical. SetEnvIf https https_ref=1 #Auth stuff below #Access stuff Order deny,allow deny from all allow from https_ref=1 statisfy all