listen 8080
<Directory "/var/www/html/test">
Order allow,deny
deny from all
</Directory>
<VirtualHost *:8080>
DocumentRoot /var/www/html/test
<Directory "/var/www/html/test">
order allow,deny
deny from all
allow from xxx.xxx.xxx.xxx
</Directory>
</VirtualHost>
Is it possible to only allow users on a specific network to access the contents of this folder through this port? Can’t the rest of the people?
On this basis, can we also add account and password verification to log in?
迷茫2017-05-16 17:03:33
The properties of Apache and Nginx should be similar.
reply0