Hi, I have a website at this IP1 (on a dedi server) I am using the content of IP1 in a server at IP2. The content is used with frame. What I want to do: I want to setup some restrictions Only IP2 and my IP can access the server IP1 directly usinh http://IP1 I tried .htaccess without success I tried to change the directive in the apache (in /etc/apache2/sites-available/default) without success. Thanks
If the content of each server is in a different frame, then each server will see the user's IP as the one requesting the contents. If you want IP2 to be accessible by IP1 only, instead of using frames, you need to get IP1 to request the file from IP2, then IP1 outputs the content to user. And then in IP2's .htaccess or httpd.conf file, add something like this: Allow from IP1 Deny from all