Hi Friends,
After a long struggling I am successful in blocking file level access for a denyed/blocked IP address.
But when I did this
<files "testht.html">
Order allow,deny
Allow from All
deny from 192.168.0.102
</files>
This file(testht.html) is not shown to this ip adress user at all.all other files are visible.
But I want to redirect the request fron testht.html page to some other page for this blocked ip address.
All othe users should see all the files under a directory.except blocked ip address.
I don't know how to do this.
Kindly tell me step by step things to do changes in httpd.conf file.
or alternatively if it can be done through .htaccess file ,please tell me this also.
I tried but it says that one need to do some changes in httpd.conf file also to make .htaccess file works.
I will be highly obliged.
Thanks
Neetika