My virtual hosts set up always redirect to /xampp Im using fedora 23 and xampp 1.8.2-6
<p>My virtual hosts is always redirecting to /xampp page im using fedora 23 and xampp 1.8.2-6.</p>

<p>here is my /etc/hosts</p>

<pre><code>127.0.0.1 localhost.localdomain localhost
::1 localhost6.localdomain6 localhost6
127.0.0.1 test.dev.ph
</code></pre>

<p>While my /opt/lampp/etc/extra/httpd-vhosts.conf is</p>

<pre><code>&lt;VirtualHost *:80&gt;
ServerName test.dev.ph
DocumentRoot /var/www/projects/test/www/
&lt;Directory "/var/www/projects/test/www/"&gt;
    AllowOverride All
    Options All
    Order allow,deny
    Allow from all
    Required all granted
&lt;/Directory&gt;
&lt;/VirtualHost&gt;
</code></pre>

<p>after editing the hosts and vhost I restart my lampp by "sudo sh lampp restart" and all runs fine. I also try to put my files in /opt/lampp/htdocs/projects/ and changes everything in vhosts but I still have the same error.</p>

<p>If I put this in web "<a href="http://test.dev.ph/projects/test/www/" rel="nofollow">http://test.dev.ph/projects/test/www/</a>" It was right</p>

<p>Thanks</p>