I would like to change my apache2 setup on Debian in such way that only the files from:
/var/www/public/ would become the root of the website
/var/www/private/ not accessible from website, but accessible for the filesystem
currently the root of the site is /var/www/
example.com -> should redirect to -> /var/www/public/
example.com/private/ -> would redirect to -> /var/www/public/private/
a script on the filesystem in public should be able to contact /var/www/private/
Change DocumentRoot to that path