I’m transitioning from an old app to a new Yii 2 Advanced app.
I need to have some directories to act as they do it in the past, procedural mode with includes, no ORM, etc…
Let me explain:
Yii2 is responding under frontend/web or backend/web directory. Apache’s Virtual Hosts manage that successfully. But when I try to respond a request based on (example) http://localhost.com/newdir I cannot make it work, it gives a 404.
I tried playing with .htaccess redirects, rewrites, and apache prefix virtual hosts configuration without success.
I want to integrate the use of five directories while I work and upload the new app, substituting the old directories for controllers and so.
New app now serves most of the app, but it should live with the old directories until final deployment.