-
httpd-vhosts.conf 配置:
<VirtualHost *:80> DocumentRoot "/opt/lampp/htdocs/" ServerName localhost </VirtualHost> <VirtualHost *:80> DocumentRoot "/opt/lampp/htdocs/laravel51_docs/public" ServerName l5.localhost </VirtualHost>
host
也设置了, 访问l5.localhost
却跳转到http://l5.localhost/dashboard/
.环境
xubuntu 16.04
的xampp-linux-x64-5.6.28-1-installer.run