httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject DO NOT REPLY [Bug 46198] mod_userdir is not giving the correct DOCUMENT_ROOT, also causes issues with mod_rewrite
Date Thu, 13 Nov 2008 21:17:56 GMT

--- Comment #5 from HM 2K <>  2008-11-13 13:17:55 PST ---
The issue is not with RewriteBase, leaving RewriteBase on or off is not a
conditional option, since both URLs point to the same directory the RewriteBase
is either on or off in the `.htaccess` for both cases.

In both cases mod_rewrite should be looking in the working directory rather
than the document_root, but it doesn't.

The reality of the issue is that DOCUMENT_ROOT should be that of the userdir,
and if that can't be done, mod_rewrite should be looking in the userdir before
it looks in the DOCUMENT_ROOT.

(In reply to comment #4)
> (In reply to comment #3)
> > RewriteBase is relative to the URL not to the filesystem so that won't work in
> > all cases.
> The premise is that it works in all cases that the base URL got you to the
> correct directory in the first place, because that's how mod_rewrite re-injects
> the modifications (and ends up back in the same directory).  When you leave the
> RewriteBase off, and don't use a full filesystem path in your substitution, and
> you're operating per-directory, you don't end up back in the same spot.

Configure bugmail:
------- You are receiving this mail because: -------
You are the assignee for the bug.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message