These are chat archives for dektrium/yii2-user

26th
May 2015
cosmos-rusnire
@cosmos-rusnire
May 26 2015 01:43
@dmeroff 'urlManager' => [
'enablePrettyUrl' => true,
'showScriptName' => false,
'rules' => [
'<controller>/<action>' => '<controller>/<action>',
]
],

@dmeroff .htaccess
RewriteEngine on

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

cosmos-rusnire
@cosmos-rusnire
May 26 2015 22:44
есть кто живой?