Hello Room,
I have Xampp latest version loaded on Windows XP SP3 I have xampp on j: now I have varied portals (folders) in htdocs folders all the applications are running fine. The server is natted with public IP and is available to public. The indexes are off (OK) I have redirected the public to the required public portal.
Now the problem starts here. I do not want to give access to all other folders to public except one. I have set a redirect to the required public folder if the public IP is browsed over internet and indexes are put off. I have provided local network people access to the other folders. they are actually required to access those other folders from my local LAN only. Some people from my local network (they know my other folders) has a chance to browse from internet (not from local network) if they physically type the public ip with the folder name over internet. So I want to prevent access to other folders for traffic from my public IP but keep only one folder access. to make it more clear please see the example below:-
htdocs/folder1 access from public ip only
htdocs/folder2 access from local network only
htdocs/folder3 access from local network only
I am expert only in application development because I do all my work with the help of php framework. I am weak and noob in Apache, PHP. How is that possible in Xampp. I do not know where to do and how to do. I was able to find htdocs.conf file and found varied access levels to all my folders. Can I change there something ? like allow from IP range or deny from for IP range for all my visible folders in htdocs.conf ? or shall i work with .htaccess
Please help me.