Instead of trying to set server.document-root
, you can use mod_alias
to achieve this:
server.modules = ( ..., "mod_alias" )
...
alias.url = ( "/other/" => "/some/other/dir/" )
This will create an alias such that all requests to /other/
and resources inside that folder will be redirected to /some/other/dir/
on the file system, with a request directly to /other/
being pointed directly to the root of /some/other/dir/
, just like you want.