solution abr

This commit is contained in:
2022-11-16 15:11:35 +01:00
parent 4bd6eebafd
commit 895f1f15fd
3 changed files with 6 additions and 25 deletions

6
Readme.md Normal file
View File

@@ -0,0 +1,6 @@
# Playbook d'installation apache
LEs fichiers vhost.conf et index.html sont récupérés par le pilote
directement depuis le dépôt git

View File

@@ -1 +0,0 @@
<h1>hello World</h1>

View File

@@ -1,24 +0,0 @@
<VirtualHost *:80>
ServerName example.org
ServerAlias www.example.org
ServerAlias {{ inventory_hostname }}
DocumentRoot /var/www/html/example.org
CustomLog /var/log/httpd/example.org_access.log combined
ErrorLog /var/log/httpd/example.org_error.log
<Directory />
Options none
Allowoverride none
Require all denied
</Directory>
<Directory /var/www/html/example.org>
Require all granted
</Directory>
<Directory /var/www/html/example.org/Private>
Options indexes
AuthName "stop"
AuthType Basic
AuthUserFile /etc/httpd/passwd
require valid-user
</Directory>
</VirtualHost>