Added practica dia 2

This commit is contained in:
Guillem Hernandez Sola
2025-06-17 14:24:59 +02:00
parent 5620e1f4dc
commit ecf4fb5bc3
2 changed files with 52 additions and 2 deletions

16
misc/hosts.conf Normal file
View File

@@ -0,0 +1,16 @@
<VirtualHost *:80>
ServerAdmin webmaster@exemple.com
ServerName exemple.com
ServerAlias www.exemple.com
DocumentRoot /var/www/exemple.com/public_html
ErrorLog ${APACHE_LOG_DIR}/exemple.com_error.log
CustomLog ${APACHE_LOG_DIR}/exemple.com_access.log combined
<Directory /var/www/exemple.com/public_html>
Options Indexes FollowSymLinks
AllowOverride All
Require all granted
</Directory>
</VirtualHost>