I just upgraded from Sierra to High Sierra.

Apparently everything works fine. But when testing my works in local (Web developments in PHP, etc) I see that none works.

Checking and looking for where the bug might be, I went to see that all my Virtual-Hosts were fine, and I find that the Virtual-host file, which had more than 10 configured elements, there is only 2 virtual-host of tests

The content of the virtual-host file after updating is:

<VirtualHost *:80>
    ServerAdmin webmaster@dummy-host.example.com
    DocumentRoot "/usr/docs/dummy-host.example.com"
    ServerName dummy-host.example.com
    ServerAlias www.dummy-host.example.com
    ErrorLog "/private/var/log/apache2/dummy-host.example.com-error_log"
    CustomLog "/private/var/log/apache2/dummy-host.example.com-access_log" common

<VirtualHost *:80>
    ServerAdmin webmaster@dummy-host2.example.com
    DocumentRoot "/usr/docs/dummy-host2.example.com"
    ServerName dummy-host2.example.com
    ErrorLog "/private/var/log/apache2/dummy-host2.example.com-error_log"
    CustomLog "/private/var/log/apache2/dummy-host2.example.com-access_log" common

My VirtualHost file is: /etc/apache2/extra/httpd-vhosts.conf

Can I recover that content in some way? Have I definitely lost those Virtual-host configurations?

You must log in to answer this question.

Browse other questions tagged .