Bonjour,
Je voudrais installer drupal 8 sur ma debian 9 pour développement.
Dans le point 4 de https://www.howtoforge.com/tutorial/how-to-install-and-configure-drupal-on-debian-9/
il est écrit :
"
Next, you will need to create an Apache virtual host file for drupal. To do so, create a new drupal.conf file inside /etc/apache2/sites-available/ directory:
sudo nano /etc/apache2/sites-available/drupal.conf
Add the following lines:
<VirtualHost *:80>
ServerAdmin admin@example.com
DocumentRoot /var/www/html/drupal
ServerName 192.168.15.189
ServerAlias www.example.com
<<Directory "/var/www/html/drupal/">
Options FollowSymLinks
AllowOverride All
Order allow,deny
allow from all
</Directory>
ErrorLog /var/log/apache2/drupal-error_log
CustomLog /var/log/apache2/drupal-access_log common
</VirtualHost>
"
Si je comprends bien - vu que je veux installer sur ma machine pour développement - je dois remplacer :
ServerName 192.168.15.189
ServerAlias www.example.com
par :
ServerName 127.0.0.1
ServerAlias localhost
Est-ce correct ?
Merci