typo
This commit is contained in:
@@ -38,11 +38,11 @@
|
|||||||
|
|
||||||
- name: create documentroot
|
- name: create documentroot
|
||||||
file:
|
file:
|
||||||
name: /var/www/html/orsys.fr
|
name: /var/www/html/example.org
|
||||||
state: directory
|
state: directory
|
||||||
|
|
||||||
- name: create index file
|
- name: create index file
|
||||||
copy:
|
copy:
|
||||||
src: index.txt
|
src: index.txt
|
||||||
dest: /var/www/html/orsys.fr/index.html
|
dest: /var/www/html/example.org/index.html
|
||||||
mode: 0644
|
mode: 0644
|
||||||
|
|||||||
12
vhost.conf
12
vhost.conf
@@ -1,16 +1,16 @@
|
|||||||
<VirtualHost *:80>
|
<VirtualHost *:80>
|
||||||
ServerName orsys.fr
|
ServerName example.org
|
||||||
ServerAlias www.orsys.fr
|
ServerAlias www.example.org
|
||||||
DocumentRoot /var/www/html/orsys.fr/
|
DocumentRoot /var/www/html/example.org/
|
||||||
CustomLog /var/log/httpd/orsys.fr_access.log combined
|
CustomLog /var/log/httpd/example.org_access.log combined
|
||||||
ErrorLog /var/log/httpd/orsys.fr_error.log
|
ErrorLog /var/log/httpd/example.org_error.log
|
||||||
<Directory />
|
<Directory />
|
||||||
Options none
|
Options none
|
||||||
Allowoverride none
|
Allowoverride none
|
||||||
Require all denied
|
Require all denied
|
||||||
</Directory>
|
</Directory>
|
||||||
|
|
||||||
<Directory /var/www/html/orsys.fr>
|
<Directory /var/www/html/example.org>
|
||||||
Require all granted
|
Require all granted
|
||||||
</Directory>
|
</Directory>
|
||||||
</VirtualHost>
|
</VirtualHost>
|
||||||
Reference in New Issue
Block a user