我想允许从我的LAN连接,在这种情况下,外部ip与我的ip匹配(当我使用我的域通过浏览器内部连接到我的http服务器时(
我发现了这个:
Require forward-dns bla.example.org
但我得到了403禁止:/
我的.htaccess看起来是这样的:
Order Deny,Allow
Deny from all
Allow from 192.168.254.1/24
Require forward-dns mydomain.de
谢谢:C
以下是我得出的答案:我使用scipt在hosts文件中输入IP地址。
请按照以下说明进行操作:https://www.the-art-of-web.com/system/apache-auth-ddns/
之后,它在.htaccess 中使用以下命令
Allow from yourDomain.de
这不是最好的答案,但它会起作用的。