我的URL仍然指向xampp htdocs文件夹。我已经绝望了。有人可以帮我吗?
httpd-vhosts.conf
<VirtualHost *:80>
DocumentRoot "C:\XAMPP\htdocs\mysite"
ServerName mysite.localhost.com
<Directory "C:\XAMPP\htdocs\mysite">
Options Indexes FollowSymLinks Includes ExecCGI
Order allow,deny
Allow from all
</Directory>
</VirtualHost>
主机
127.0.0.1 mysite.localhost.com
httpd.conf未注释
# Virtual hosts
Include conf/extra/httpd-vhosts.conf
apache重新启动