streetcoder/yii2-starter/master/.htaccess
# prevent directory listings Options -Indexes IndexIgnore */* # follow symbolic links Options FollowSymlinks RewriteEngine on RewriteRule ^backend(/.+)?$ backend/web/$1 [L,PT] RewriteRule ^(.+)?$ frontend/web/$1
Files
![](https://www.askapache.com/s/u.askapache.com/htaccess-file/2016/github/streetcoder/yii2-starter-htaccess.png)