[Solved] Rewrite for /principles/user/ Apache?

Yes, that’s OK. No need to run it from a specific directory.

The templates contain the code to generate the target file, in this case the changes should be found in the target: /etc/httpd/conf.d/zz_nextcloud.conf

Here another user experienced a related issue with mac OS, but don’t know if it was solved: