我已将以下内容添加到D:\xampp\apache\conf\extra\httpd-vhosts.conf
<VirtualHost *>
DocumentRoot "D:\xampp\htdocs\apps\jdv"
ServerName jdv.lee
<Directory "D:\xampp\htdocs\apps\jdv">
Options Indexes FollowSymLinks Includes ExecCGI
Order allow,deny
Allow from all
</Directory>
</VirtualHost>
在C:\Windows\System32\drivers\etc\hosts
中,我有:
127.0.0.1 jdv.lee
但是,当我导航到https://jdv.lee/
时,它会将我重定向到https://jdv.lee/dashboard
如果我去这里:
https://jdv.lee/apps/jdv/index.php
有效...我做错了什么