httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
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 18:13:27 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=46198


HM 2K <apache@hm2k.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEEDINFO                    |NEW




--- Comment #3 from HM 2K <apache@hm2k.org>  2008-11-13 10:13:27 PST ---
RewriteBase is relative to the URL not to the filesystem so that won't work in
all cases.

The cases are as follows:
http://example.com/
https://secure.example.net/~user/

In both of these cases the working directory is /home/user/public_html/

https://secure.example.net/ has a working directory of
/home/secure/public_html/

You would expect the document root of https://secure.example.net/~user/ to be
/home/user/public_html NOT /home/secure/public_html/ which is (in this case)
the document root of https://secure.example.net/

mod_userdir should update the document_root to the userdir OR mod_rewrite
should use the userdir not the document_root if it exists.

IE:

http://example.com/ is DOCUMENT_ROOT=/home/user/public_html/
https://secure.example.net/ is DOCUMENT_ROOT=/home/secure/public_html/

These are correct.

https://secure.example.net/~user/ is DOCUMENT_ROOT=/home/secure/public_html/
https://secure.example.net/~user/ should be
DOCUMENT_ROOT=/home/user/public_html/


-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


Mime
View raw message