# prevent directory listings
Options -Indexes
IndexIgnore */*
 
# follow symbolic links
Options FollowSymlinks
RewriteEngine on
#without Trailing slash
RewriteRule ^manage(/.+)?$ backend/web/$1 [L,PT]

#with Trailing slash
RewriteRule ^manage/(.+)?$ backend/web/$1 [L,PT]
RewriteRule ^(.+)?$ frontend/web/$1