|
|
Ligne 1 : |
Ligne 1 : |
| @VirtualHost *:80@
| | == blocage dns (Adguard) == |
| DocumentRoot "C:/xampp/htdocs/glpi/public"
| | === Listes blocages === |
| Alias "/glpi" "C:/xampp/htdocs/glpi/public"
| |
| ServerName AssistanceSI.Pme.lan
| |
| @Directory "C:/xampp/htdocs/glpi/public"@
| |
| Require all granted
| |
| RewriteEngine On
| |
| RewriteCond %{REQUEST_FILENAME} !-f
| |
| RewriteRule ^(.*)$ index.php [QSA,L]
| |
| @/Directory@
| |
| @/VirtualHost@
| |
|
| |
|
| | |
|
| |
|
| <VirtualHost *:443>
| |
| ServerName glpi.m2l.loc
| |
| ServerAlias glpi.m2l.loc
| |
| ServerAdmin admin@m2l.local
| |
| DocumentRoot /var/www/html/glpi
| |
| SSLEngine on
| |
|
| |
|
| SSLCertificateFile /root/glpi.m2l.loc.crt
| |
| SSLCertificateKeyFile /root/glpi.m2l.loc.key
| |
|
| |
|
|
| |
|
| | | === Sites intéressants === |
| <Directory /var/www/html/glpi/public>
| | [https://quoideneuf1.over-blog.com/2016/01/configurer-un-fichier-hosts-pour-bloquer-la-connexion-aux-indesirables-du-web-pub-adresse-url-malveillante.html Liens 1] |
| Options All
| |
| AllowOverride None
| |
| </Directory>
| |
| </VirtualHost>
| |