I am creating app based on mvc. My index.php is in public, but when I load app, it shows app and pub, but it should me redirect to index. I tried to change .htaccess, but won’t work, so I guess I should change path in vhost, but I am not sure how to do it.
.htaccess
<IfModule mod_rewrite.c>
Options -Multiviews
RewriteEngine On
RewriteBase /Library/public
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.+)$ index.php?url=$1 [QSA,L]
</IfModule>