로컬 Apache 서버에 가상 호스트를 정의했습니다. 제대로 작동하고 /backend/web/index.php에 의해 처리 http://florist/admin가상 호스트에서 앨리어스가 올바르지 않음
<VirtualHost *:80>
ServerAdmin [email protected]
DocumentRoot "c:/wamp/www/yii/frontend/web"
<Directory "c:/wamp/www/yii/frontend/web">
AllowOverride all
Require all granted
</Directory>
Alias /admin "c:/wamp/www/yii/backend/web"
<Directory "c:/wamp/www/yii/backend/web">
AllowOverride all
Require all granted
</Directory>
ServerName florist
ErrorLog "logs/yii-error.log"
CustomLog "logs/yii-access.log" common
</VirtualHost>
URL. 내가
index.php에 적합한 적절한 메시지와 함께 종료() 함수를 배치 할 때
그러나 URL http://florist/admin/login이 /frontend/web/index.php
에 의해 처리 한 나는이 발견 무엇에있을 수 잘못 별칭?
첫 번째 줄에 별칭을 넣으려고 했습니까? – Bizley