Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>Ubuntu 13.10 and variants have moved to Apache 2.4. Apache 2.4 wants enabled virtual host config files to end in .conf by default. </p> <p><strong>Solution</strong></p> <p>Now to correct this problem there are two methods you can use to achieve the same result.</p> <ol> <li><p>The first solution and simple solution, is to add a .conf extension to all your virtual host. The new Apache 2.4 reads each virtual host in the sites-available directory with .conf extension outlined in the new Apache 2.4 configuration file. </p></li> <li><p>The second solution is to remove the .conf extension in Apache 2.4 configuration file located in /etc/apache2/apache2.conf</p></li> </ol> <p>In the old Apache 2.2 file the .conf file had a Include sites-enabled/ whereas the new .conf file has</p> <pre><code># Include the virtual host configurations: IncludeOptional sites-enabled/*.conf </code></pre> <p>Change that line to read:</p> <pre><code># Include the virtual host configurations: IncludeOptional sites-enabled/ </code></pre> <p>The results: the command a2ensite yourdomain now runs as expected. If you are using the 2nd method; your virtual host files do not need to have the .conf extension.</p> <pre><code>Note: Configuration file is "/etc/apache2/apache2.conf" in new Apache, so please copy document root path and other configurations from "/etc/apache2/sites-available/000-default.conf" to "/etc/apache2/apache2.conf" </code></pre> <ul> <li>See more at: <a href="http://lyemium.com/content/virtual-host-issues-when-upgrading-apache-22-24#sthash.VVRCvEwS.dpuf">http://lyemium.com/content/virtual-host-issues-when-upgrading-apache-22-24#sthash.VVRCvEwS.dpuf</a></li> </ul>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload