Hi,
I am looking at disabling and enabling access for some users but the issue I have is once they are connected through the firewall they are all on the same IP address. The other part of this is I need to redirect users that are blocked to Maintenance Page.
At present I have a Rewrite Rules that starts the application and it looks like this in my current httpd.data.conf file:
RewriteRule ^/<path>\.jsp(.*)$ /<path>$1 [R,L]
RewriteRule ^/<path>\.jsp(.*)$ /<path>$1 [R,L]
I then have created the following in the httpd.data.conf:
Include conf/httpd.user.inc
RewriteRule ^/<path>//maintenance.html [R,L]
And my access file looks as followed for httpd.user.inc:
RewriteCond %{LA-U:REMOTE_USER} !^(.)*USER1(.)* [NC]
RewriteCond %{LA-U:REMOTE_USER} !^(.)*USER2(.)* [NC]
#RewriteCond %{LA-U:REMOTE_USER} !^(.)*USER3(.)* [NC]
Can anyone help point me in the right area.
Regards,
Simon