我在www(wamp)中部署我的休息Full api。当我要去我的网址:http://localhost/my-project/public/getData时,这是一个未找到的网址。去http://localhost/my-project/public时没有加载css和js
然后当我在php bin / console server中手动执行服务器时:运行,我将去:127.0.0.0.1 / getData。它工作正常。
这是我的httpd-vhosts.conf:
#
# Virtual Hosts
#
<VirtualHost *:80>
ServerName localhost
DocumentRoot c:/wamp64/www
<Directory "c:/wamp64/www/">
Options +Indexes +FollowSymLinks +MultiViews
AllowOverride All
Require local
</Directory>
</VirtualHost>
问题是什么 ?谢谢
这是一个.htaccess缺失现在,一切正常,谢谢