Symfony 3 프로젝트 용 WAMP 서버에서 VirtualHost를 만들었습니다. Symfonys 3 홈페이지가 잘로드되고 있지만 내 경로가 doc/login 페이지에로드되어 있지만 css가 없으면 페이지가 css를로드하지 않습니다. 파일, 그리고 js. 파일 및 CSS. 내가 로그인 한 후 다른 페이지의 파일을 볼 수 있습니다. 아무도 도와 줄 수 있습니까?Symfony 3의 Js 및 css 파일이 가상 호스트에로드되지 않습니다.
아파치 - vhosts.conf 호스트가 난 문서/로그인 경로에 갈 때 여기
127.0.0.1 doc
내가 무엇을 얻고있다 파일
<VirtualHost *:80>
ServerName doc
DocumentRoot "C:/Users/Tereza/my_project/web/app_dev.php"
<Directory "C:/Users/Tereza/my_project/web">
Options Indexes FollowSymLinks MultiViews Includes ExecCGI
AllowOverride All
Order Allow,Deny
Allow from all
Require all granted
</Directory>
</VirtualHost>
:
고맙습니다, 지금 작동 중입니다 :) – lorenos