htaccess
Posted: Thu Mar 08, 2018 9:29 am
Hi,
We've setup an Apache website and using .htaccess to allow access only to a specific set of internal ip addresses. This works well as long as my computer is connected to the internal network, but as soon as I try it at home and connect to the Openvpn server, I can no longer access it.
I've added the ip address that is my laptop receives from the Openvpn server to the htaccess file, but still no access. I also tried adding the internal and public ip address of the Openvpn server to htaccess but still no luck.
How can I make this work ?
Thanks for your help.
Best regards
Joeri
We've setup an Apache website and using .htaccess to allow access only to a specific set of internal ip addresses. This works well as long as my computer is connected to the internal network, but as soon as I try it at home and connect to the Openvpn server, I can no longer access it.
I've added the ip address that is my laptop receives from the Openvpn server to the htaccess file, but still no access. I also tried adding the internal and public ip address of the Openvpn server to htaccess but still no luck.
How can I make this work ?
Thanks for your help.
Best regards
Joeri