apache helping went I don't want it to help

David Thornton david-FkEgs2FKm2NvBvnq28/GKQ at public.gmane.org
Wed Jun 22 21:01:28 UTC 2005


Yes apache is "running in a mode where it returns the myfile.html 
whenasked for myfile". That is the problem.

http://httpd.apache.org/docs/content-negotiation.html indicates that, 
that is the way apache works.

There are no symlinks.

As for "Mapping URLs to Filesystem Locations" 
(http://httpd.apache.org/docs/urlmapping.html).

I'm not using

Alias <mod/mod_alias.html#alias>
AliasMatch <mod/mod_alias.html#aliasmatch>
mod_rewrite <mod/mod_rewrite.html>
or
mod_speling <mod/mod_speling.html>

and I don't think that this is a mod_userdir issue. <mod/mod_userdir.html>

You guys are keeping me honest... I'll give you that. I really 
appreciate your willingness to jump in there and get dirty with this one.


david


Alex Beamish wrote:

>On 6/22/05, David Thornton <david-FkEgs2FKm2NvBvnq28/GKQ at public.gmane.org> wrote:
>  
>
>>update:
>>
>>version apache 1.3.33
>>
>>logs:
>>
>><ip> - - [01/Jun/2005:05:06:24 -0400] "GET /myfile HTTP/1.0" 200 333
>>"http://www.me.com/" "Mozilla/5.0 (Windows; U; Windows NT 5.1;
>> en-US; rv:1.7.6) Gecko/20050223 Firefox/1.0.1"
>>
>><ip> - - [01/Jun/2005:05:06:25 -0400] "GET /myfile.html HTTP/1.0" 200
>>333 "http://www.me.com/" "Mozilla/5.0 (Windows; U; Windows NT 5.1;
>> en-US; rv:1.7.6) Gecko/20050223 Firefox/1.0.1"
>>
>>nice eh?
>>    
>>
>
>Yes -- now there's proof in the logs of what happened, so either
>Apache is running in a mode where it returns the myfile.html when
>asked for myfile, or perha[s there's a sym-link between myfile and
>myfile.html. There may be other answers as well.
>
>  
>
>>David Thornton wrote:
>>
>>    
>>
>>>Hey guys,
>>>
>>>Maybe you guys can help me out with a little trouble I'm having.
>>>I have a client who wants to stop apache from doing something it does
>>>by default.
>>>
>>>If you have a file in htdocs called myfile.html
>>>
>>>you can surf to that file like this:
>>>
>>>http://www.me.com/myfile.html
>>>
>>>but transparently you can also use:
>>>
>>>http://www.me.com/myfile
>>>
>>>and you get the same file.
>>>
>>>My client wants to turn off this "feature" because it is "Ruining the
>>>web reports".
>>>
>>>I've read:
>>>
>>>http://httpd.apache.org/docs/content-negotiation.html
>>>
>>>and I thought that a -MultiViews in Options would do the trick but it
>>>didn't.
>>>
>>>Any pointers or help would be greatly apprecaited.
>>>
>>>david
>>>
>>>      
>>>
>>--
>>Let one walk alone,
>>committing no sin with few wishes,
>>like an elephant in the forest.
>>-- ghost in the shell 2: Innocence
>>
>>--
>>The Toronto Linux Users Group.      Meetings: http://tlug.ss.org
>>TLUG requests: Linux topics, No HTML, wrap text below 80 columns
>>How to UNSUBSCRIBE: http://tlug.ss.org/subscribe.shtml
>>
>>    
>>
>--
>The Toronto Linux Users Group.      Meetings: http://tlug.ss.org
>TLUG requests: Linux topics, No HTML, wrap text below 80 columns
>How to UNSUBSCRIBE: http://tlug.ss.org/subscribe.shtml
>  
>


-- 
Let one walk alone,
committing no sin with few wishes,
like an elephant in the forest.
-- ghost in the shell 2: Innocence

--
The Toronto Linux Users Group.      Meetings: http://tlug.ss.org
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://tlug.ss.org/subscribe.shtml





More information about the Legacy mailing list