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 36509] - mod_rewrite incorrectly expands userdir URLs?
Date Wed, 07 Sep 2005 18:00:40 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=36509>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=36509





------- Additional Comments From alex@weej.com  2005-09-07 20:00 -------
Yeah mod_userdir is active but when I try this .htaccess file anywhere not
involving mod_userdir it works!

For example:

http://localhost/alex/testsite/blah
DocumentRoot is file:///var/www/localhost/htdocs
.htaccess files are checked in all parent directories up to
file:///var/www/localhost/htdocs/alex/testsite/.htaccess.
RewriteRule is found in the last .htaccess file.
mod_rewrite matches the request for "blah" and replaces with "url-handler.php"
as per the RewriteRule
mod_rewrite tags replacement file onto the end of the current path:
"file:///var/www/localhost/htdocs/alex/testsite/" + "urlhandler.php"
request is made for file:///var/www/localhost/htdocs/alex/testsite/url-handler.php
200 OK

Now, with: http://localhost/~alex/testsite/blah
DocumentRoot is file:///var/www/localhost/htdocs
But mod_userdir is enabled... what happens here?
...
...
!?
(something obviously messes up here)
request is somehow made for
file:///var/www/localhost/htdocs/home/alex/public_html/home/alex/public_html/testsite/url-handler.php

>From the error log:

[Wed Sep 07 18:58:07 2005] [error] [client 192.168.0.2] File does not exist:
/var/www/localhost/htdocs/home

Hope you can figure this out better than I can!

Cheers André

Alex

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

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


Mime
View raw message