Apache 2.4 require IP virtualhost

Apache 2.4 require IP virtualhost

 

In Apache 2.4, the authorization configuration syntax has changed, and the Order, Deny or Allow directives should no longer be used.

The new way to do this would be:

<VirtualHost *:8080>
    <Location />
        Require ip 192.168.1.0
    </Location>
    ...
</VirtualHost>

Comments

Popular posts from this blog

Securing the Pi-hole with fail2ban to prevent DNS Amplification attacks

Wazuh opensearch dashboard ConnectionError: connect ECONNREFUSED ::1:9200"

Reduce (shrink) and resize raw disk at Proxmox