Closed
Description
If the magento2/pub/ directory is set as the webserver document root, installation via browser fails because a redirect loop to /setup/.
The problem is there is no setup directory within /pub/.
As a result the browser request is rewritten to pub/index.php again, which in turn triggers another redirect response to /setup/.
This finally results in a endless redirect loop.
For reference please see
\Magento\Framework\App\Http::redirectToSetup()
\Magento\Framework\App\Http::getInstallerRedirectPath()
and there $urlPath = self::NOT_INSTALLED_URL_PATH;