User Tools

Site Tools


divers-apache-redirect-ip

Dans le Vhost

ErrorDocument 403 /maintenance.html
  <Directory /var/www/moodle-310>
       allow from 172.16.7.0/24 
       allow from 172.16.226.0/24
       allow from 172.30.1.242 
       deny from all
  </Directory>

Et bien sûr, mettre la page maintenance.html à la racine du serveur

divers-apache-redirect-ip.txt · Last modified: 2023/09/28 12:26 by 127.0.0.1