abhi1693/yii2-app-advanced-startup-kit

Not Found

Closed this issue · 4 comments

The requested URL /installer/install/index was not found on this server.

Do you have any idea why it happens?

You can access /installer/install/index from the backend only. Once the installation is completed successfully, you cannot access the said url. Try accessing the url via backend and let me know if the problem still persists.

Yes, I'm trying this ulr from backend.
Is it correct path in config?

'modules'    => [
    'installer' => [
        'class' => \abhimanyu\installer\InstallerModule::className()
    ],
]

Here is no directory called abhimanyu in /my-app/backend/ or somewhere else.

Yes, the paths in the config are all correct. You will find that directory under vendors. Have you initialized your application's environment?

Yes, I was run init after instalation and select dev environment. I configure webserver to access /my-app/backend/web directory via http://backend.my-app.com, moved index.php from /my-app/backend to /my-app/backend/web, then I open url http://backend.my-app.com, and it redirected to http://backend.my-app.com/installer/install/index, so beforeAction in /backend/SiteController works fine.