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 28769] - MultiViews on, /partial should return /partial.* in preference to /partial/
Date Tue, 04 May 2004 16:17:21 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=28769>.
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=28769

MultiViews on, /partial should return /partial.* in preference to /partial/





------- Additional Comments From kozakzs@primposta.com  2004-05-04 16:17 -------
I've sent this comment to André directly. But I think the correct place of this
comment is this database. So:

I have a directory AND a file also. And if I use an URI WITHOUT a trailing
slash, I expect to get a file... instead of a directory. I mean I think Apache
should *differentiate* URIs if a directory and a file (with a similar name)
exists. Currently Apache completes my URI, put a trailing slash at the end of it
and then serve it as a directory nevertheless there is a file in the filesystem
also, and I use correct URI which points to that file...


And here is his answer:

>>I have a directory AND a file also. And if I use an URI WITHOUT a 
>> trailing slash, I expect to get a file... instead of a directory.

That's what I've understood. The point is, why do you expect that? The
directory with exactly the name requested does exist. The redirect
to the trailing slash thereafter is just for making the URI canonical.

>>I mean 
>> I think Apache should /*differentiate* URIs if a directory and a file 
>> (with a similar name) exists.


Perhaps an option for mod_negotiation would be feasible. Patches are
welcome, of course  :)

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


Mime
View raw message