My application structure is /var/www/html/angular-yii2/ |-client-angular |-rest My url should be http://localhost/angular-yii2/client-angular/ but, when I access that url the page redirect to http://localhost/404. How to prevent this issue without I need to create server name alias? Thank you