proxy: Fix exception for serving locally
authorAlex Dehnert <alex@dehnerts.com>
Sat, 7 Aug 2021 18:42:56 +0000 (14:42 -0400)
committerAlex Dehnert <alex@dehnerts.com>
Sat, 7 Aug 2021 18:42:56 +0000 (14:42 -0400)
commit6e738007029f47e0bc0dafdf76ccc7089eeb4ad9
tree1c776dc908fe5858120ebd6e3d055890571003ee
parentc2cf734cf95b69ecca998cfa684df1d6dfbf3928
proxy: Fix exception for serving locally

Judging by
https://httpd.apache.org/docs/current/mod/mod_rewrite.html#rewritecond,
REQUEST_FILENAME isn't available in a vhost, so we need to put the vhost root
before the REQUEST_URI.
sites-available/mit-proxy.conf