Forum Moderators: phranque
I wish to serve a particular banned user my custom 403 including CSS, scripting and audio message. I know I need to allow all these files, but do I write an "allowit" for each or is there a condensed method? Thanks.
SetEnvIf Remote_Addr ^***\.***\.***\.*$ ban
SetEnvIf Request_URI ^/custom403\.html$ allowit
SetEnvIf Request_URI ^/css/sheet\.css$ allowit
SetEnvIf Request_URI ^/scripts/javascript\.js$ allowit
SetEnvIf Request_URI ^/audio/scram\.wav$ allowit
<Files *>
Order Deny,Allow
Deny from env=ban
Allow from env=allowit
</Files>