использую open-server
так было
<VirtualHost *:%httpport%>
DocumentRoot "%hostdir%"
ServerName "%host%"
ServerAlias "%host%" %aliases%
ScriptAlias /cgi-bin/ "%hostdir%/cgi-bin/"
</VirtualHost>
нужно дописать
<VirtualHost *:80>
ServerName www.yii2-start.domain # You need to change it to your own domain
ServerAlias yii2-start.domain # You need to change it to your own domain
DocumentRoot "%host%"/yii2/yii2-start # You need to change it to your own path
<Directory "%host%"/yii2/yii2-start> # You need to change it to your own path
AllowOverride All
</Directory>
</VirtualHost>
проект лежит
D:\open\OpenServer\domains\localhost\yii2\yii2-start
как быть?