Apache Użyj folderu publicznego jako root

//ON YOUR APACHE SITE CONFIG FILE:
// In my case my Apache root is: 
//d:\laragon\etc\apache2\sites-enabled\auto.sitetest.test.conf

<VirtualHost *:80> 
    DocumentRoot "${ROOT}/public"   //public or whatever is your root
    ServerName ${SITE}
    ServerAlias *.${SITE}
    <Directory "${ROOT}">
        AllowOverride All
        Require all granted
    </Directory>
</VirtualHost>
gtamborero