227
edits
No edit summary Tag: 2017 source edit |
Tag: 2017 source edit |
||
| Line 51: | Line 51: | ||
If you are using virtual hosts in Apache, you will need to create a new one for your test installation. For example, if you had something like this in a file named ''/etc/apache2/sites-available/dolibarr'': | If you are using virtual hosts in Apache, you will need to create a new one for your test installation. For example, if you had something like this in a file named ''/etc/apache2/sites-available/dolibarr'': | ||
< | <source lang="bash"> | ||
<VirtualHost *:80> | <VirtualHost *:80> | ||
ServerName dolibarr.mydomain.net | ServerName dolibarr.mydomain.net | ||
| Line 60: | Line 60: | ||
CustomLog /var/log/apache2/dolibarr-access.log combined | CustomLog /var/log/apache2/dolibarr-access.log combined | ||
</VirtualHost> | </VirtualHost> | ||
</ | </source> | ||
... it will now be necessary to make a copy in, for example, ''/etc/apache2/sites-available/dolibarrtest'': | ... it will now be necessary to make a copy in, for example, ''/etc/apache2/sites-available/dolibarrtest'': | ||
< | <source lang="bash"> | ||
<VirtualHost *:80> | <VirtualHost *:80> | ||
ServerName dolibarrtest.mydomain.net | ServerName dolibarrtest.mydomain.net | ||
| Line 71: | Line 71: | ||
CustomLog /var/log/apache2/dolibarrtest-access.log combined | CustomLog /var/log/apache2/dolibarrtest-access.log combined | ||
</VirtualHost> | </VirtualHost> | ||
</ | </source> | ||
Be careful, this is not enough to make this host available, it will also be necessary: | Be careful, this is not enough to make this host available, it will also be necessary: | ||