I found this thread by searching for “Neos setup ‘The requested document was not found on this server.’”
Turns out this was a misconfiguration of Apache (duh!) – this is my working configuration:
ServerAdmin webmaster@localhost
ServerName --removed--
DocumentRoot /var/www/--removed--/Web
<Directory /var/www/--removed--/Web>
Options Indexes FollowSymLinks MultiViews
AllowOverride All
Require all granted
</Directory>
ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined
<Directory /var/www/--removed--/Web>
RewriteEngine on
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*) index.php [PT,L]
</Directory>
I don’t know whether is the Options or the enabling of the RewriteEngine (should get enabled by .htaccess?), but in any case, I hope this helps someone.