Fixed 'overwritewebroot' not work with 'overwritecondaddr'.
Client ip address must be passed to fakeRequest (OC\AppFramework\Http\Request). Since this is not case, 'overwritewebroot' under 'overwritecondaddr' does not work through OC\AppFramework\HTTP\Request#getScriptName and its isOverwriteCondition.
In order for 'overwritecondaddr' to work properly, PR #30654 must be also merged.
~~closing as dup of https://github.com/nextcloud/server/issues/6914~~ sorry, mistook it as an issue.
rebased and fixed conflicts
CI failure unrelated
Thanks for your first pull request and welcome to the community! Feel free to keep them coming! If you are looking for issues to tackle then have a look at this selection: https://github.com/nextcloud/server/issues?q=is%3Aopen+is%3Aissue+label%3A%22good+first+issue%22