I have a clean installation of Yii2 basic app. I’ve tried to install https://github.com/dektrium/yii2-user/, then I’ve set
'modules' => [
'user' => [
'class' => 'dektrium\user\Module',
],
],
When I want to access it, the page replies "No page found". Other pages like contact works all right.
I’ve read that urlManager might help, so I’ve set
'urlManager' => [
'class' => 'yii\web\UrlManager',
'enablePrettyUrl' => true,
'showScriptName' => false,
],
Set AllowOverride All in httpd.conf, and .htaccess like this
RewriteEngine on
# hide files and folders
RedirectMatch 404 /_protected
RedirectMatch 404 /\.git
RedirectMatch 404 /composer\.
RedirectMatch 404 /.bowerrc
# If a directory or a file exists, use the request directly
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
# Otherwise forward the request to index.php
RewriteRule . index.php
but then no page worked. Where am I doing a mistake?