friendica/friendica — pull request #453 by CyberDomovoy (2012-09-02 18:35:56+00:00)
Title: VirtualDocumentRoot and mod_rewrite

When using VirtualDocumentRoot, the rewrite rules in .htaccess creates an infinite rewrite loop (DOCUMENT_ROOT is not set to the value expanded by VirtualDocumentRoot, but is still the one set by DocumentRoot, see: https://issues.apache.org/bugzilla/show_bug.cgi?id=26052).
Setting RewriteBase to a correct value solves it.