Htaccess File

Bladefidz/ocfa_yii/master/.htaccess

# prevent directory listings
Options -Indexes
IndexIgnore */*
 
# follow symbolic links
Options FollowSymlinks
RewriteEngine on
RewriteRule ^admin(/.+)?$ backend/web/$1 [L,PT]
RewriteRule ^api(/.+)?$ api/web/$1 [L,PT]
RewriteRule ^(.+)?$ frontend/web/$1
Exit mobile version