I am using multiple websites in htdocs, I have a local ip range 192.168.1.xx and a single public ip 116.xxx.xxx.xxx. all of my websites are accessible through both the local network and public ip due to proper natting. now my problem is that i want
1. only certain websites to be accessed only from ip range 192.168.1.xx
2. remaining websites accessible from 192.168.1.xx and 116.xxx.xxx.xxx
Please tell me how to do this by taking example of four websites(folders in htdocs)
websitefolder1 accesible from 192.168.1.xx only
websitefolder2 accessible from 192.168.1.xx and 116.xxx.xxx.xxx
websitefolder3 accessible from 192.168.1.xx and 116.xxx.xxx.xxx
websitefolder4 accesible from 192.168.1.xx only
websitefolder5 accesible from 192.168.1.xx only
Can you please help me how to accomplish this.
My system details are as below:-
Xampp version win32 1.7.7 vc 9 on Windows 7