I have lighttpd-Setup pointing to the root of the document /var/www . However, I want the other/ URL to point to /some/other/dir . I do this with the following configuration:
$HTTP["url"] =~ "^/other($|/)" { server.document-root = "/some/other/dir" }
However, if I go to "http: // myhost / other", lighttpd tries to access /some/other/dir/other instead of just /some/other/dir . Is it possible to remove /other some way, but save any additional URL segments? So, for example, http://myhost/other/sub/foo.txt should point to /some/other/dir/sub/foo.txt .
source share