Is it possible to restrict access via basic authentication generally, but not on a server that has a specific IP or domain name - without the use of virtual-hosts (and no use of Satisfy) ?
Addition: htpasswd can't be used as the solution.
Have you tried using a htpassword? You can restrict users at a basic level (username and password) using just a few lines. It shouldn't make a difference if your server has a dynamic IP, and you don't need virtual hosts.
This generator makes it pretty simple
I hope this is the solution you need!
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.