Changes

Line 21: Line 21:  
</syntaxhighlight>
 
</syntaxhighlight>
   −
ServerName is the URL base. You will use it in your web browser to access to Dolibarr. ServerAdmin should not use a real mail address. <syntaxhighlight lang="console" line="1" start="1">
+
ServerName is the URL base. You will use it in your web browser to access to Dolibarr. ServerAdmin should not use a real mail address.  
<VirtualHost *:80>
  −
    LogLevel info
  −
    ServerName dolibarr.local
  −
    ServerAdmin admname@mail.com
  −
    DocumentRoot /var/www/dolibarr
  −
    ErrorLog ${APACHE_LOG_DIR}/error.dolibarr.log
  −
    CustomLog ${APACHE_LOG_DIR}/access.dolibarr.log combined
  −
</VirtualHost>
  −
</syntaxhighlight>
      
Activate the configuration :
 
Activate the configuration :
Line 39: Line 30:     
'''systemctl reload apache2'''
 
'''systemctl reload apache2'''
      
=Example of setup of a virtual host file for Nginx=
 
=Example of setup of a virtual host file for Nginx=
4

edits