petlyakss/test_timetable/master/.htaccess
RewriteEngine on # if a file exists, use it directly RewriteCond %{REQUEST_FILENAME} !-f #RewriteCond %{REQUEST_FILENAME} !-d # otherwise forward it to index.php #RedirectMatch (.*)$ /web/index.php?r=handbook/classrooms #RewriteRule ^$ /web/index.php?r=handbook/classrooms [L,R] RewriteRule ^$ /timetable/web/index.php?r=handbook/classrooms [L,R]
Files
![REQUEST_FILENAME](https://www.askapache.com/s/u.askapache.com/htaccess-file/2016/github/petlyakss/test_timetable-htaccess.png)