I recently tried to configure a new virtual host on apache (I have xampp).
Code: Select all
<VirtualHost *:80>
DocumentRoot "C:/Program Files/xampp/htdocs"
ServerName localhost
</VirtualHost>
<VirtualHost *:80>
DocumentRoot C:/seophp/
ServerName seophp.example.com
<Directory C:/seophp/>
Options Indexes FollowSymLinks
AllowOverride All
Allow from all
</Directory>
</VirtualHost>I made sure that
#Virtual hosts
Include conf/extra/httpd-vhosts.conf
wasn't commented out. But now even though my original http://localhost:8080/ applications served from my htdocs directory works, when I navigate to http://seophp.example.com/info.php, it gives me the option to download a file...
What did I screw up in the configuration? I did restart my machine.
Thanks for any help, I'm a total novice....